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

Unified Diff: sdk/lib/web_sql/dartium/web_sql_dartium.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/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/collection_removes_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_sql/dartium/web_sql_dartium.dart
diff --git a/sdk/lib/web_sql/dartium/web_sql_dartium.dart b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
index 80c44189e0e5c227e61326effcbb5e166675e878..aa777bcadf109f06172cadaee558e88a6cdfc8dd 100644
--- a/sdk/lib/web_sql/dartium/web_sql_dartium.dart
+++ b/sdk/lib/web_sql/dartium/web_sql_dartium.dart
@@ -328,16 +328,16 @@ class SqlResultSetRowList extends NativeFieldWrapperClass1 implements List<Map>
return IterableMixinWorkaround.skipWhile(this, test);
}
- Map firstMatching(bool test(Map value), { Map orElse() }) {
- return IterableMixinWorkaround.firstMatching(this, test, orElse);
+ Map firstWhere(bool test(Map value), { Map orElse() }) {
+ return IterableMixinWorkaround.firstWhere(this, test, orElse);
}
- Map lastMatching(bool test(Map value), {Map orElse()}) {
- return IterableMixinWorkaround.lastMatchingInList(this, test, orElse);
+ Map lastWhere(bool test(Map value), {Map orElse()}) {
+ return IterableMixinWorkaround.lastWhereList(this, test, orElse);
}
- Map singleMatching(bool test(Map value)) {
- return IterableMixinWorkaround.singleMatching(this, test);
+ Map singleWhere(bool test(Map value)) {
+ return IterableMixinWorkaround.singleWhere(this, test);
}
Map elementAt(int index) {
@@ -425,11 +425,11 @@ class SqlResultSetRowList extends NativeFieldWrapperClass1 implements List<Map>
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void removeMatching(bool test(Map element)) {
+ void removeWhere(bool test(Map element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
- void retainMatching(bool test(Map element)) {
+ void retainWhere(bool test(Map element)) {
throw new UnsupportedError("Cannot remove from immutable List.");
}
« no previous file with comments | « sdk/lib/web_sql/dart2js/web_sql_dart2js.dart ('k') | tests/corelib/collection_removes_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698