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

Unified Diff: sdk/lib/web_sql/dart2js/web_sql_dart2js.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/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
diff --git a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
index ffdecb7c42653ef8901b508f36a758dfa86a81c4..77dae5d24d3d417670fd07e3accad6e7ff60abcb 100644
--- a/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
+++ b/sdk/lib/web_sql/dart2js/web_sql_dart2js.dart
@@ -306,16 +306,16 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
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) {
@@ -403,11 +403,11 @@ class SqlResultSetRowList implements JavaScriptIndexingBehavior, List<Map> nativ
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/svg/dartium/svg_dartium.dart ('k') | sdk/lib/web_sql/dartium/web_sql_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698