Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: sdk/lib/collection/collection.dart

Issue 24740003: Add List.shuffle(). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Adddress comments Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « sdk/lib/_internal/lib/js_array.dart ('k') | sdk/lib/collection/list.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Classes and utilities that supplement the collection support in dart:core. 6 * Classes and utilities that supplement the collection support in dart:core.
7 */ 7 */
8 library dart.collection; 8 library dart.collection;
9 9
10 import 'dart:_collection-dev'; 10 import 'dart:_collection-dev';
11 import 'dart:math' show Random; // Used by ListMixin.shuffle.
11 12
12 part 'collections.dart'; 13 part 'collections.dart';
13 part 'iterable.dart'; 14 part 'iterable.dart';
14 part 'iterator.dart'; 15 part 'iterator.dart';
15 part 'maps.dart'; 16 part 'maps.dart';
16 part 'queue.dart'; 17 part 'queue.dart';
17 part 'splay_tree.dart'; 18 part 'splay_tree.dart';
18 part 'linked_list.dart'; 19 part 'linked_list.dart';
19 part 'hash_set.dart'; 20 part 'hash_set.dart';
20 part 'hash_map.dart'; 21 part 'hash_map.dart';
21 part 'list.dart'; 22 part 'list.dart';
22 part 'linked_hash_set.dart'; 23 part 'linked_hash_set.dart';
23 part 'linked_hash_map.dart'; 24 part 'linked_hash_map.dart';
OLDNEW
« no previous file with comments | « sdk/lib/_internal/lib/js_array.dart ('k') | sdk/lib/collection/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698