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

Side by Side Diff: sdk/lib/_collection_dev/list.dart

Issue 11938036: Hide collection-dev library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Allow dart:_collection-dev in dartc. Other fixes. Created 7 years, 10 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/_collection_dev/iterable.dart ('k') | sdk/lib/_collection_dev/sort.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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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.collection.dev; 5 part of dart._collection.dev;
6 6
7 /** 7 /**
8 * Class implementing the read-operations on [List]. 8 * Class implementing the read-operations on [List].
9 * 9 *
10 * Implements all read-only operations, except [:operator[]:] and [:length:], 10 * Implements all read-only operations, except [:operator[]:] and [:length:],
11 * in terms of those two operations. 11 * in terms of those two operations.
12 */ 12 */
13 abstract class ListBase<E> extends Collection<E> implements List<E> { 13 abstract class ListBase<E> extends Collection<E> implements List<E> {
14 Iterator<E> get iterator => new ListIterator(this); 14 Iterator<E> get iterator => new ListIterator(this);
15 15
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 throw new ConcurrentModificationError(_list); 540 throw new ConcurrentModificationError(_list);
541 } 541 }
542 if (_index <= _start) return false; 542 if (_index <= _start) return false;
543 _index -= 1; 543 _index -= 1;
544 _current = _list[_index]; 544 _current = _list[_index];
545 return true; 545 return true;
546 } 546 }
547 547
548 E get current => _current; 548 E get current => _current;
549 } 549 }
OLDNEW
« no previous file with comments | « sdk/lib/_collection_dev/iterable.dart ('k') | sdk/lib/_collection_dev/sort.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698