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

Side by Side Diff: sdk/lib/core/iterable.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/core/invocation.dart ('k') | sdk/lib/core/iterator.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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 "core.dart"; 5 part of "dart:core";
6 6
7 /** 7 /**
8 * A collection of values, or "elements", that can be accessed sequentially. 8 * A collection of values, or "elements", that can be accessed sequentially.
9 * 9 *
10 * The elements of the iterable are accessed by getting an [Iterator] 10 * The elements of the iterable are accessed by getting an [Iterator]
11 * using the [iterator] getter, and using it to step through the values. 11 * using the [iterator] getter, and using it to step through the values.
12 * Stepping with the iterator is done by calling [Iterator.moveNext], 12 * Stepping with the iterator is done by calling [Iterator.moveNext],
13 * and if the call returns `true`, 13 * and if the call returns `true`,
14 * the iterator has now moved to the next element, 14 * the iterator has now moved to the next element,
15 * which is then available as [Iterator.current]. 15 * which is then available as [Iterator.current].
(...skipping 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
645 */ 645 */
646 abstract class BidirectionalIterator<E> implements Iterator<E> { 646 abstract class BidirectionalIterator<E> implements Iterator<E> {
647 /** 647 /**
648 * Move back to the previous element. 648 * Move back to the previous element.
649 * 649 *
650 * Returns true and updates [current] if successful. Returns false 650 * Returns true and updates [current] if successful. Returns false
651 * and sets [current] to null if there is no previous element. 651 * and sets [current] to null if there is no previous element.
652 */ 652 */
653 bool movePrevious(); 653 bool movePrevious();
654 } 654 }
OLDNEW
« no previous file with comments | « sdk/lib/core/invocation.dart ('k') | sdk/lib/core/iterator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698