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

Unified Diff: sdk/lib/html/html_common/filtered_element_list.dart

Issue 14173003: Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 8 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
Index: sdk/lib/html/html_common/filtered_element_list.dart
diff --git a/sdk/lib/html/html_common/filtered_element_list.dart b/sdk/lib/html/html_common/filtered_element_list.dart
index f915f8208e229b4be2fbb3464e085b5f962c82f1..cba20b9eba0469f08ae17580cd1fc534acdeabb0 100644
--- a/sdk/lib/html/html_common/filtered_element_list.dart
+++ b/sdk/lib/html/html_common/filtered_element_list.dart
@@ -122,24 +122,6 @@ class FilteredElementList extends ListBase<Element> {
}
}
- // Operations defined in terms of [Collections]' [remove].
-
- void removeAll(Iterable elements) {
- // This should be optimized to not use [remove] directly.
- IterableMixinWorkaround.removeAll(this, elements);
- }
-
- void retainAll(Iterable elements) {
- IterableMixinWorkaround.retainAll(this, elements);
- }
-
- void removeWhere(bool test(Element element)) {
- IterableMixinWorkaround.removeWhere(this, test);
- }
-
- void retainWhere(bool test(Element element)) {
- IterableMixinWorkaround.retainWhere(this, test);
- }
Element reduce(Element combine(Element value, Element element)) {
return _filtered.reduce(combine);

Powered by Google App Engine
This is Rietveld 408576698