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

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

Issue 1287453002: change param name to match docs (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: more renames Created 5 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sdk/lib/core/iterable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/iterable.dart
diff --git a/sdk/lib/collection/iterable.dart b/sdk/lib/collection/iterable.dart
index 329068244596f292d2c552e5d94d87d93ebb717f..e89acc6f1ca91a1a4b5cafe0501da3d5e21c7757 100644
--- a/sdk/lib/collection/iterable.dart
+++ b/sdk/lib/collection/iterable.dart
@@ -103,16 +103,16 @@ abstract class IterableMixin<E> implements Iterable<E> {
bool get isNotEmpty => !isEmpty;
- Iterable<E> take(int n) {
- return new TakeIterable<E>(this, n);
+ Iterable<E> take(int count) {
+ return new TakeIterable<E>(this, count);
}
Iterable<E> takeWhile(bool test(E value)) {
return new TakeWhileIterable<E>(this, test);
}
- Iterable<E> skip(int n) {
- return new SkipIterable<E>(this, n);
+ Iterable<E> skip(int count) {
+ return new SkipIterable<E>(this, count);
}
Iterable<E> skipWhile(bool test(E value)) {
« no previous file with comments | « no previous file | sdk/lib/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698