Home
last modified time | relevance | path

Searched refs:removeIf (Results 1 – 25 of 25) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DRemoveIfTester.java42 integers.removeIf(isEven); in runBasicRemoveIfTests()
52 integers.removeIf(isOdd); in runBasicRemoveIfTests()
63 integers.removeIf(isEven); in runBasicRemoveIfTestsUnordered()
68 integers.removeIf(isOdd); in runBasicRemoveIfTestsUnordered()
76 supp.get().removeIf(x -> { in runRemoveIfOnEmpty()
84 supp.get().removeIf(null); in testRemoveIfNPE()
94 c.removeIf(x -> {c.add(42); return true;}); in testRemoveIfCME()
DSetOfTest.java210 assertTrue(throwsUoe(() -> { set.removeIf(Predicate.isEqual(example)); } )); in assertUnmodifiable()
DListOfTest.java210 assertThrowsUoe(() -> { list.removeIf(Predicate.isEqual(example)); } ); in assertUnmodifiable()
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java415 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArraySet
416 return al.removeIf(filter); in removeIf()
DCopyOnWriteArrayList.java836 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArrayList
1428 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArrayList.COWSubList
DConcurrentSkipListMap.java2463 public boolean removeIf(Predicate<? super V> filter) { in removeIf() method in ConcurrentSkipListMap.Values
2537 public boolean removeIf(Predicate<? super Entry<K,V>> filter) { in removeIf() method in ConcurrentSkipListMap.EntrySet
DConcurrentHashMap.java4754 public boolean removeIf(Predicate<? super V> filter) { in removeIf() method in ConcurrentHashMap.ValuesView
4827 public boolean removeIf(Predicate<? super Entry<K,V>> filter) { in removeIf() method in ConcurrentHashMap.EntrySetView
/libcore/ojluni/src/main/java/java/util/
DCollection.java409 default boolean removeIf(Predicate<? super E> filter) { in removeIf() method
DCollections.java1130 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method in Collections
2116 public boolean removeIf(Predicate<? super E> filter) {
2117 synchronized (mutex) {return c.removeIf(filter);}
3177 public boolean removeIf(Predicate<? super E> filter) {
3178 return c.removeIf(filter);
4393 public boolean removeIf(Predicate<? super E> filter) {
4521 public boolean removeIf(Predicate<? super E> filter) {
4831 public boolean removeIf(Predicate<? super E> filter) {
4882 public boolean removeIf(Predicate<? super E> filter) {
5536 public boolean removeIf(Predicate<? super E> filter) {
[all …]
DImmutableCollections.java79 @Override public boolean removeIf(Predicate<? super E> filter) { throw uoe(); } in removeIf() method in ImmutableCollections.AbstractImmutableCollection
460 @Override public boolean removeIf(Predicate<? super E> filter) { throw uoe(); } in removeIf() method in ImmutableCollections.AbstractImmutableSet
DVector.java1276 public synchronized boolean removeIf(Predicate<? super E> filter) { in removeIf() method
DArrayList.java1409 public boolean removeIf(Predicate<? super E> filter) { in removeIf() method
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DCopyOnWriteArraySet.java112 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArraySet
DCopyOnWriteArrayList.java195 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArrayList
407 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in CopyOnWriteArrayList.COWSubList
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCollection.annotated.java57 public default boolean removeIf(@libcore.util.NonNull java.util.function.Predicate<? super @libcore… in removeIf() method
DArrayList.annotated.java97 public boolean removeIf(@libcore.util.NonNull java.util.function.Predicate<? super @libcore.util.Nu… in removeIf() method in ArrayList
DVector.annotated.java133 public synchronized boolean removeIf(@libcore.util.NonNull java.util.function.Predicate<? super @li… in removeIf() method in Vector
/libcore/ojluni/src/test/java/util/concurrent/tck/
DCollection8Test.java201 () -> c.removeIf(null),
328 boolean modified = c.removeIf(randomPredicate);
468 c.removeIf(randomlyRemove);
519 c.removeIf(e -> { removeIfed.add(e); return false; });
752 assertTrue(c.removeIf(x -> x == e));
/libcore/ojluni/annotations/sdk/nullability/java/util/concurrent/
DCopyOnWriteArrayList.annotated.java104 public boolean removeIf(@libcore.util.NonNull java.util.function.Predicate<? super @libcore.util.Nu… in removeIf() method in CopyOnWriteArrayList
/libcore/ojluni/annotations/hiddenapi/java/util/
DVector.java258 public synchronized boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Vector
DArrayList.java203 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in ArrayList
DCollections.java511 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.AsLIFOQueue
619 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.CheckedCollection
1568 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.EmptyList
1786 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.EmptySet
1938 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.SetFromMap
1998 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.SingletonList
2168 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.SingletonSet
2253 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.SynchronizedCollection
2932 public boolean removeIf(java.util.function.Predicate<? super E> filter) { in removeIf() method in Collections.UnmodifiableCollection
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCollectionsTest.java1655 c.removeIf(x -> true); in test_unmodifiableCollectionLjava_util_Collection()
1717 c.removeIf(x -> true); in test_unmodifiableListLjava_util_List()
1857 c.removeIf(x -> true); in test_unmodifiableSetLjava_util_Set()
1931 c.removeIf(x -> true); in test_unmodifiableSortedSetLjava_util_SortedSet()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java177 .removeIf(algorithm -> in test_Provider_getServices()
202 .removeIf(entry -> in test_Provider_getServices()
/libcore/api/
Dcurrent.txt12603 method public default boolean removeIf(@NonNull java.util.function.Predicate<? super E>);