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

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

Issue 12537009: Rename XMatching to XWhere. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Merge and rebuild dom libraries. Created 7 years, 9 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 | « sdk/lib/collection/queue.dart ('k') | 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/core/collection.dart
diff --git a/sdk/lib/core/collection.dart b/sdk/lib/core/collection.dart
index 7222b06990e43511db361ee712df98393db6d8b7..0f772d83ed000f578194ed245df8878a78cc16f1 100644
--- a/sdk/lib/core/collection.dart
+++ b/sdk/lib/core/collection.dart
@@ -72,8 +72,8 @@ abstract class Collection<E> extends Iterable<E> {
*
* An elements [:e:] satisfies [test] if [:test(e):] is true.
*/
- void removeMatching(bool test(E element)) {
- IterableMixinWorkaround.removeMatching(this, test);
+ void removeWhere(bool test(E element)) {
+ IterableMixinWorkaround.removeWhere(this, test);
}
/**
@@ -81,14 +81,14 @@ abstract class Collection<E> extends Iterable<E> {
*
* An elements [:e:] satisfies [test] if [:test(e):] is true.
*/
- void retainMatching(bool test(E element)) {
- IterableMixinWorkaround.retainMatching(this, test);
+ void retainWhere(bool test(E element)) {
+ IterableMixinWorkaround.retainWhere(this, test);
}
/**
* Removes all elements of this collection.
*/
void clear() {
- IterableMixinWorkaround.removeMatching(this, (E e) => true);
+ IterableMixinWorkaround.removeWhere(this, (E e) => true);
}
}
« no previous file with comments | « sdk/lib/collection/queue.dart ('k') | sdk/lib/core/iterable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698