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

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

Issue 2974433002: Remaining private libs (Closed)
Patch Set: It's html_common Created 3 years, 5 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
« no previous file with comments | « sdk/lib/collection/list.dart ('k') | sdk/lib/collection/queue.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 part of "collection.dart"; 5 part of "dart:collection";
6 6
7 /** 7 /**
8 * Base class for implementing a [Map]. 8 * Base class for implementing a [Map].
9 * 9 *
10 * This class has a basic implementation of all but five of the members of 10 * This class has a basic implementation of all but five of the members of
11 * [Map]. 11 * [Map].
12 * A basic `Map` class can be implemented by extending this class and 12 * A basic `Map` class can be implemented by extending this class and
13 * implementing `keys`, `operator[]`, `operator[]=`, `remove` and `clear`. 13 * implementing `keys`, `operator[]`, `operator[]=`, `remove` and `clear`.
14 * The remaining operations are implemented in terms of these five. 14 * The remaining operations are implemented in terms of these five.
15 * 15 *
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 map[keyIterator.current] = valueIterator.current; 366 map[keyIterator.current] = valueIterator.current;
367 hasNextKey = keyIterator.moveNext(); 367 hasNextKey = keyIterator.moveNext();
368 hasNextValue = valueIterator.moveNext(); 368 hasNextValue = valueIterator.moveNext();
369 } 369 }
370 370
371 if (hasNextKey || hasNextValue) { 371 if (hasNextKey || hasNextValue) {
372 throw new ArgumentError("Iterables do not have same length."); 372 throw new ArgumentError("Iterables do not have same length.");
373 } 373 }
374 } 374 }
375 } 375 }
OLDNEW
« no previous file with comments | « sdk/lib/collection/list.dart ('k') | sdk/lib/collection/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698