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

Side by Side Diff: sdk/lib/core/iterator.dart

Issue 2973823002: Revert "Remaining private libs" (Closed)
Patch Set: 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/core/iterable.dart ('k') | sdk/lib/core/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 part of "dart:core"; 5 part of "core.dart";
6 6
7 /** 7 /**
8 * An interface for getting items, one at a time, from an object. 8 * An interface for getting items, one at a time, from an object.
9 * 9 *
10 * The for-in construct transparently uses `Iterator` to test for the end 10 * The for-in construct transparently uses `Iterator` to test for the end
11 * of the iteration, and to get each item (or _element_). 11 * of the iteration, and to get each item (or _element_).
12 * 12 *
13 * If the object iterated over is changed during the iteration, the 13 * If the object iterated over is changed during the iteration, the
14 * behavior is unspecified. 14 * behavior is unspecified.
15 * 15 *
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 * element, or if the iterator has been moved past the last element of the 53 * element, or if the iterator has been moved past the last element of the
54 * [Iterable]. 54 * [Iterable].
55 * 55 *
56 * The `current` getter should keep its value until the next call to 56 * The `current` getter should keep its value until the next call to
57 * [moveNext], even if an underlying collection changes. 57 * [moveNext], even if an underlying collection changes.
58 * After a successful call to `moveNext`, the user doesn't need to cache 58 * After a successful call to `moveNext`, the user doesn't need to cache
59 * the current value, but can keep reading it from the iterator. 59 * the current value, but can keep reading it from the iterator.
60 */ 60 */
61 E get current; 61 E get current;
62 } 62 }
OLDNEW
« no previous file with comments | « sdk/lib/core/iterable.dart ('k') | sdk/lib/core/list.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698