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

Unified Diff: dart/sdk/lib/collection/list.dart

Issue 754763003: Version 1.8.3 (Closed) Base URL: http://dart.googlecode.com/svn/branches/1.8/
Patch Set: Created 6 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « dart/runtime/vm/parser.cc ('k') | dart/tests/corelib/big_integer_parsed_arith_vm_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/sdk/lib/collection/list.dart
===================================================================
--- dart/sdk/lib/collection/list.dart (revision 42037)
+++ dart/sdk/lib/collection/list.dart (working copy)
@@ -205,13 +205,13 @@
return value;
}
- Iterable<E> skip(int count) => new SubListIterable(this, count, null);
+ Iterable<E> skip(int count) => new SubListIterable<E>(this, count, null);
Iterable<E> skipWhile(bool test(E element)) {
return new SkipWhileIterable<E>(this, test);
}
- Iterable<E> take(int count) => new SubListIterable(this, 0, count);
+ Iterable<E> take(int count) => new SubListIterable<E>(this, 0, count);
Iterable<E> takeWhile(bool test(E element)) {
return new TakeWhileIterable<E>(this, test);
@@ -347,7 +347,7 @@
Iterable<E> getRange(int start, int end) {
_rangeCheck(start, end);
- return new SubListIterable(this, start, end);
+ return new SubListIterable<E>(this, start, end);
}
void removeRange(int start, int end) {
@@ -511,7 +511,7 @@
}
}
- Iterable<E> get reversed => new ReversedListIterable(this);
+ Iterable<E> get reversed => new ReversedListIterable<E>(this);
String toString() => IterableBase.iterableToFullString(this, '[', ']');
}
« no previous file with comments | « dart/runtime/vm/parser.cc ('k') | dart/tests/corelib/big_integer_parsed_arith_vm_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698