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

Unified Diff: sdk/lib/collection/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
« no previous file with comments | « sdk/lib/collection/hash_set.dart ('k') | sdk/lib/collection/queue.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/collection/list.dart
diff --git a/sdk/lib/collection/list.dart b/sdk/lib/collection/list.dart
index 6231c190ef11301ce7585b6f617d8556b634a3a4..354e59edae919874b110ec34348e3a01d5d111c9 100644
--- a/sdk/lib/collection/list.dart
+++ b/sdk/lib/collection/list.dart
@@ -249,21 +249,6 @@ abstract class ListMixin<E> implements List<E> {
}
}
- void removeAll(Iterable<Object> elements) {
- if (elements is! Set) {
- elements = elements.toSet();
- }
- _filter(this, elements.contains, false);
- }
-
-
- void retainAll(Iterable<E> elements) {
- if (elements is! Set) {
- elements = elements.toSet();
- }
- _filter(this, elements.contains, true);
- }
-
void removeWhere(bool test(E element)) {
_filter(this, test, false);
}
« no previous file with comments | « sdk/lib/collection/hash_set.dart ('k') | sdk/lib/collection/queue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698