Index: sdk/lib/collection/linked_hash_set.dart |
diff --git a/sdk/lib/collection/linked_hash_set.dart b/sdk/lib/collection/linked_hash_set.dart |
index 7fc0653b22751e170c38caba8703b2e4204eba85..9c77532345d0ec3ab5af2430357286dc994ab346 100644 |
--- a/sdk/lib/collection/linked_hash_set.dart |
+++ b/sdk/lib/collection/linked_hash_set.dart |
@@ -97,7 +97,7 @@ class LinkedHashSet<E> extends Collection<E> implements Set<E> { |
IterableMixinWorkaround.retainAll(this, objectsToRemove); |
} |
- void _filterMatching(bool test(E element), bool removeMatching) { |
+ void _filterWhere(bool test(E element), bool removeMatching) { |
int entrySize = _table._entrySize; |
int length = _table._table.length; |
int offset = _table._next(_LinkedHashTable._HEAD_OFFSET); |
@@ -115,12 +115,12 @@ class LinkedHashSet<E> extends Collection<E> implements Set<E> { |
_table._checkCapacity(); |
} |
- void removeMatching(bool test(E element)) { |
- _filterMatching(test, true); |
+ void removeWhere(bool test(E element)) { |
+ _filterWhere(test, true); |
} |
- void retainMatching(bool test(E element)) { |
- _filterMatching(test, false); |
+ void retainWhere(bool test(E element)) { |
+ _filterWhere(test, false); |
} |
void clear() { |