Home
last modified time | relevance | path

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

1234567

/libcore/ojluni/src/test/java/util/LinkedHashSet/
DBasic.java57 Set diff1 = clone(s1); diff1.removeAll(s2); in main()
58 Set diff2 = clone(s2); diff2.removeAll(s1); in main()
61 if (diff1.removeAll(diff2)) in main()
63 if (diff1.removeAll(intersection)) in main()
65 if (diff2.removeAll(diff1)) in main()
67 if (diff2.removeAll(intersection)) in main()
69 if (intersection.removeAll(diff1)) in main()
71 if (intersection.removeAll(diff1)) in main()
/libcore/ojluni/src/test/java/util/Collections/
DCheckedSetBash.java74 Set<Integer> diff1 = clone(s1, supplier); diff1.removeAll(s2); in testCheckedSet()
75 Set<Integer> diff2 = clone(s2, supplier); diff2.removeAll(s1); in testCheckedSet()
78 if (diff1.removeAll(diff2)) in testCheckedSet()
80 if (diff1.removeAll(intersection)) in testCheckedSet()
82 if (diff2.removeAll(diff1)) in testCheckedSet()
84 if (diff2.removeAll(intersection)) in testCheckedSet()
86 if (intersection.removeAll(diff1)) in testCheckedSet()
88 if (intersection.removeAll(diff1)) in testCheckedSet()
DCheckedListBash.java57 List diff1 = clone(s1); diff1.removeAll(s2); in main()
58 List diff2 = clone(s2); diff2.removeAll(s1); in main()
61 if (diff1.removeAll(diff2)) in main()
63 if (diff1.removeAll(intersection)) in main()
65 if (diff2.removeAll(diff1)) in main()
67 if (diff2.removeAll(intersection)) in main()
69 if (intersection.removeAll(diff1)) in main()
71 if (intersection.removeAll(diff1)) in main()
DCheckedMapBash.java91 m2.values().removeAll(m.keySet()); in testCheckedMap()
138 s2.removeAll(s); in testCheckedMap2()
/libcore/luni/src/test/java/libcore/java/util/
DOldAbstractSetTest.java92 as.removeAll(null);
100 as.removeAll(c);
108 as.removeAll(c);
DSequencedCollectionTest.java83 public boolean removeAll(Collection<?> c) { in removeAll() method in SequencedCollectionTest.EmptySequencedCollection
DAbstractCollectionTest.java64 new EmptyCollection().removeAll(null); in test_empty_removeAll_null()
/libcore/support/src/test/java/tests/support/
DSupport_CollectionTest.java75 .removeAll(myCollection)); in runTest()
77 .removeAll(myCollection)); // should not change the colletion in runTest()
/libcore/ojluni/src/test/java/util/SequencedCollection/
DSimpleSortedSet.java96 public boolean removeAll(Collection<?> c) { in removeAll() method in SimpleSortedSet
97 return set.removeAll(c); in removeAll()
DSimpleList.java93 public boolean removeAll(Collection<?> c) { in removeAll() method in SimpleList
94 return list.removeAll(c); in removeAll()
DSimpleDeque.java93 public boolean removeAll(Collection<?> c) { in removeAll() method in SimpleDeque
94 return deque.removeAll(c); in removeAll()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DEnumSetTest.java1064 set.removeAll(null); in test_removeAll_LCollection()
1074 set.removeAll(null); in test_removeAll_LCollection()
1083 boolean result = set.removeAll(collection); in test_removeAll_LCollection()
1088 result = set.removeAll(collection); in test_removeAll_LCollection()
1092 result = set.removeAll(emptySet); in test_removeAll_LCollection()
1096 result = set.removeAll(emptyFooSet); in test_removeAll_LCollection()
1100 result = set.removeAll(emptyFooSet); in test_removeAll_LCollection()
1105 result = set.removeAll(setWithSubclass); in test_removeAll_LCollection()
1109 result = set.removeAll(setWithSubclass); in test_removeAll_LCollection()
1116 result = set.removeAll(anotherSet); in test_removeAll_LCollection()
[all …]
/libcore/ojluni/src/main/java/java/net/
DCookieStore.java128 public boolean removeAll(); in removeAll() method
/libcore/ojluni/src/main/java/java/util/concurrent/
DCopyOnWriteArraySet.java350 public boolean removeAll(Collection<?> c) { in removeAll() method in CopyOnWriteArraySet
351 return al.removeAll(c); in removeAll()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DAbstractSet.annotated.java39 public boolean removeAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeExcept… in removeAll() method in AbstractSet
DAbstractCollection.annotated.java55 public boolean removeAll(@libcore.util.NonNull java.util.Collection<?> c) { throw new RuntimeExcept… in removeAll() method in AbstractCollection
/libcore/ojluni/src/main/java/java/util/
DRegularEnumSet.java241 public boolean removeAll(Collection<?> c) { in removeAll() method in RegularEnumSet
243 return super.removeAll(c); in removeAll()
DAbstractSet.java166 public boolean removeAll(Collection<?> c) { in removeAll() method in AbstractSet
DCollection.java547 boolean removeAll(Collection<?> c); in removeAll() method
DJumboEnumSet.java296 public boolean removeAll(Collection<?> c) { in removeAll() method in JumboEnumSet
298 return super.removeAll(c); in removeAll()
/libcore/ojluni/src/test/java/util/EnumSet/
DEnumSetBash.java94 EnumSet<T> diff1 = clone(s1, enumClass); diff1.removeAll(s2); in bash()
95 EnumSet<T> diff2 = clone(s2, enumClass); diff2.removeAll(s1); in bash()
98 Assert.assertFalse(diff1.removeAll(diff2)); in bash()
99 Assert.assertFalse(diff1.removeAll(intersection)); in bash()
100 Assert.assertFalse(diff2.removeAll(diff1)); in bash()
101 Assert.assertFalse(diff2.removeAll(intersection)); in bash()
102 Assert.assertFalse(intersection.removeAll(diff1)); in bash()
103 Assert.assertFalse(intersection.removeAll(diff1)); in bash()
/libcore/luni/src/test/androidsdk34/src/libcore/android34/java/util/
DListTest.java97 public boolean removeAll(Collection<?> c) { in removeAll() method in ListTest.MyList
98 return l.removeAll(c); in removeAll()
/libcore/ojluni/src/main/java/sun/nio/ch/
DFileLockTable.java68 public abstract List<FileLock> removeAll(); in removeAll() method in FileLockTable
198 public List<FileLock> removeAll() { in removeAll() method in SharedFileLockTable
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java539 assertTrue(cookieStore.removeAll()); in testCookieStoreNullUris()
547 assertTrue(cookieStore.removeAll()); in testCookieStoreRemoveAll()
551 cookieStore.removeAll()); // RI6 fails this in testCookieStoreRemoveAll()
809 public boolean removeAll() { in removeAll() method in AbstractCookiesTest.TestCookieStore
1119 assertTrue(cookieStore.removeAll()); in test_remove_LURI_LHttpCookie()
1137 cookieStore.removeAll(); in test_remove_LURI_LHttpCookie()
1156 cookieStore.removeAll(); in test_remove_LURI_LHttpCookie()
1166 cookieStore.removeAll(); in test_remove_LURI_LHttpCookie()
1189 assertFalse(cookieStore.removeAll()); in test_removeAll()
1198 assertTrue(cookieStore.removeAll()); in test_removeAll()
[all …]
/libcore/luni/src/test/java/libcore/java/util/concurrent/
DCopyOnWriteArrayListTest.java94 list.removeAll(Arrays.asList()); in testRemoveAll()
97 list.removeAll(Arrays.asList("e")); in testRemoveAll()
100 list.removeAll(Arrays.asList("b", "c")); in testRemoveAll()
169 def.removeAll(Arrays.asList("c", "e", "h")); // the RI fails here in testSubListRemoveAll()

1234567