/external/cldr/tools/java/org/unicode/cldr/util/ |
D | Builder.java | 193 public CBuilder<E, U> retainAll(Collection<? extends E> c) { in retainAll() method in Builder.CBuilder 194 collection.retainAll(c); in retainAll() 199 public CBuilder<E, U> retainAll(E... items) { in retainAll() method in Builder.CBuilder 200 collection.retainAll(Arrays.asList(items)); in retainAll() 204 public CBuilder<E, U> retainAll(Iterator<E> items) { in retainAll() method in Builder.CBuilder 206 collection.retainAll(temp); in retainAll() 210 public CBuilder<E, U> retainAll(Transform<E, Boolean> predicate) { in retainAll() method in Builder.CBuilder 211 collection.retainAll(getMatchingItems(predicate, collection, new HashSet<E>())); in retainAll() 431 public MBuilder<K, V, M> retainAll(Transform<K, Boolean> predicate) { in retainAll() method in Builder.MBuilder 432 map.keySet().retainAll(getMatchingItems(predicate, map.keySet(), new HashSet<K>())); in retainAll() [all …]
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
D | CollectionRetainAllTester.java | 297 collection.retainAll(null); in testRetainAll_nullCollectionReferenceEmptySubject() 307 collection.retainAll(null); in testRetainAll_nullCollectionReferenceNonEmptySubject() 316 assertTrue(message, collection.retainAll(target.toRetain)); in expectReturnsTrue() 322 assertFalse(message, collection.retainAll(target.toRetain)); in expectReturnsFalse() 327 collection.retainAll(target.toRetain); in expectThrows() 338 assertFalse(message, collection.retainAll(target.toRetain)); in expectReturnsFalseOrThrows()
|
D | ListRetainAllTester.java | 48 collection.retainAll(MinimalCollection.of(createSamplesArray()))); in testRetainAll_duplicatesKept() 60 collection.retainAll(MinimalCollection.of(samples.e2))); in testRetainAll_duplicatesRemoved() 69 assertTrue(getList().retainAll(Arrays.asList(samples.e0, samples.e1))); in testRetainAll_countIgnored()
|
/external/guava/guava/src/com/google/common/collect/ |
D | ForwardingCollection.java | 103 public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingCollection 104 return delegate().retainAll(collection); in retainAll() 195 return Iterators.retainAll(iterator(), collection); in standardRetainAll()
|
D | FilteredEntryMultimap.java | 226 public boolean retainAll(Collection<?> c) { in createKeySet() method in FilteredEntryMultimap.AsMap 273 public boolean retainAll(Collection<?> c) { in createEntrySet() 317 public boolean retainAll(Collection<?> c) { 396 public boolean retainAll(Collection<?> c) {
|
/external/guava/guava-tests/test/com/google/common/cache/ |
D | EmptyCachesTest.java | 165 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_empty_remove() 185 assertFalse(keys.retainAll(asList(null, 0, 15, 1500))); in testKeySet_remove() 242 assertFalse(values.retainAll(asList(null, 0, 15, 1500))); in testValues_empty_remove() 262 assertFalse(values.retainAll(asList(null, 0, 15, 1500))); in testValues_remove() 319 assertFalse(entrySet.retainAll(asList(null, entryOf(0, 0), entryOf(15, 15)))); in testEntrySet_empty_remove() 339 assertFalse(entrySet.retainAll(asList(null, entryOf(1, 1), entryOf(15, 15)))); in testEntrySet_remove()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | MapsTransformValuesUnmodifiableIteratorTest.java | 68 @Override public boolean retainAll(Collection<?> c) { in keySet() method in MapsTransformValuesUnmodifiableIteratorTest.UnmodifiableIteratorMap 69 return delegate.keySet().retainAll(c); in keySet() 85 @Override public boolean retainAll(Collection<?> c) { in values() method 86 return delegate.values().retainAll(c); in values() 102 @Override public boolean retainAll(Collection<?> c) { 103 return delegate.entrySet().retainAll(c);
|
D | SynchronizedQueueTest.java | 129 public boolean retainAll(Collection<?> collection) { in retainAll() method in SynchronizedQueueTest.TestQueue 131 return delegate.retainAll(collection); in retainAll() 172 create().retainAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations()
|
D | ForwardingMultisetTest.java | 87 @Override public boolean retainAll(Collection<?> collection) { in retainAll() method in ForwardingMultisetTest.StandardImplForwardingMultiset 221 @Override public boolean retainAll(Collection<?> collection) { in suite() 252 @Override public boolean retainAll(Collection<?> collection) { in suite() 329 forward().retainAll(EMPTY_COLLECTION); in testRetainAll_Collection()
|
D | SynchronizedDequeTest.java | 129 public boolean retainAll(Collection<?> collection) { in retainAll() method in SynchronizedDequeTest.TestDeque 131 return delegate.retainAll(collection); in retainAll() 274 create().retainAll(ImmutableList.of("foo")); in testHoldsLockOnAllOperations()
|
/external/cldr/tools/java/org/unicode/cldr/posix/ |
D | POSIX_LCCtype.java | 71 UnicodeSet us = new UnicodeSet(types[i][1]).retainAll(chars); in write() 85 UnicodeSet lowers = new UnicodeSet(types[1][1]).retainAll(chars); in write() 105 UnicodeSet uppers = new UnicodeSet(types[0][1]).retainAll(chars); in write()
|
/external/protobuf/java/core/src/test/java/com/google/protobuf/ |
D | ProtobufArrayListTest.java | 253 list.retainAll(Collections.emptyList()); in assertImmutable() 260 list.retainAll(Collections.singleton(1)); in assertImmutable() 267 list.retainAll(UNARY_LIST); in assertImmutable()
|
D | DoubleArrayListTest.java | 416 list.retainAll(Collections.<Double>emptyList()); in assertImmutable() 423 list.retainAll(Collections.singleton(1D)); in assertImmutable() 430 list.retainAll(UNARY_LIST); in assertImmutable()
|
D | LongArrayListTest.java | 416 list.retainAll(Collections.<Long>emptyList()); in assertImmutable() 423 list.retainAll(Collections.singleton(1L)); in assertImmutable() 430 list.retainAll(UNARY_LIST); in assertImmutable()
|
D | IntArrayListTest.java | 416 list.retainAll(Collections.<Integer>emptyList()); in assertImmutable() 423 list.retainAll(Collections.singleton(1)); in assertImmutable() 430 list.retainAll(UNARY_LIST); in assertImmutable()
|
D | BooleanArrayListTest.java | 412 list.retainAll(Collections.<Boolean>emptyList()); in assertImmutable() 419 list.retainAll(Collections.singleton(Boolean.TRUE)); in assertImmutable() 426 list.retainAll(UNARY_LIST); in assertImmutable()
|
D | FloatArrayListTest.java | 416 list.retainAll(Collections.<Float>emptyList()); in assertImmutable() 423 list.retainAll(Collections.singleton(1F)); in assertImmutable() 430 list.retainAll(UNARY_LIST); in assertImmutable()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | CollectionSet.java | 76 public boolean retainAll(Collection<?> c) { in retainAll() method in CollectionSet 77 return data.retainAll(c); in retainAll()
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | CollectionSet.java | 78 public boolean retainAll(Collection<?> c) { in retainAll() method in CollectionSet 79 return data.retainAll(c); in retainAll()
|
/external/apache-harmony/support/src/test/java/tests/support/ |
D | Support_CollectionTest.java | 88 .retainAll(myCollection)); in runTest() 90 .retainAll(myCollection)); // should not change the colletion in runTest()
|
/external/protobuf/java/core/src/main/java/com/google/protobuf/ |
D | AbstractProtobufList.java | 160 public boolean retainAll(Collection<?> c) { in retainAll() method in AbstractProtobufList 162 return super.retainAll(c); in retainAll()
|
D | MapFieldLite.java | 380 public boolean retainAll(Collection<?> c) { in retainAll() method in MapFieldLite.MutatabilityAwareCollection 382 return delegate.retainAll(c); in retainAll() 473 public boolean retainAll(Collection<?> c) { in retainAll() method in MapFieldLite.MutatabilityAwareSet 475 return delegate.retainAll(c); in retainAll()
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/ |
D | MapInterfaceTest.java | 719 boolean didRemove = entrySet.retainAll(entriesToRetain); in testEntrySetRetainAll() 727 entrySet.retainAll(entriesToRetain); in testEntrySetRetainAll() 747 entrySet.retainAll(null); in testEntrySetRetainAllNullFromEmpty() 754 entrySet.retainAll(null); in testEntrySetRetainAllNullFromEmpty() 1330 keys.retainAll(Collections.singleton(key)); in testKeySetRetainAll() 1335 keys.retainAll(Collections.singleton(key)); in testKeySetRetainAll() 1407 keySet.retainAll(null); in testKeySetRetainAllNullFromEmpty() 1414 keySet.retainAll(null); in testKeySetRetainAllNullFromEmpty() 1605 valueCollection.retainAll(valuesToRetain); in testValuesRetainAll() 1614 valueCollection.retainAll(valuesToRetain); in testValuesRetainAll() [all …]
|
D | PerCollectionSizeTestSuiteBuilder.java | 75 sizesToTest.retainAll(features); in createTestSuite() 79 sizesToTest.retainAll(Arrays.asList( in createTestSuite()
|
/external/mockito/src/main/java/org/mockito/internal/util/collections/ |
D | HashCodeAndEqualsSafeSet.java | 127 public boolean retainAll(Collection<?> mocks) { in retainAll() method 128 return backingHashSet.retainAll(asWrappedMocks(mocks)); in retainAll()
|