Home
last modified time | relevance | path

Searched refs:elementsToRetain (Results 1 – 12 of 12) sorted by relevance

/external/guava/android/guava/src/com/google/common/collect/
DAbstractMultiset.java118 public final boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
119 return Multisets.retainAllImpl(this, elementsToRetain); in retainAll()
DForwardingMultiset.java205 protected boolean standardRetainAll(Collection<?> elementsToRetain) { in standardRetainAll() argument
206 return Multisets.retainAllImpl(this, elementsToRetain); in standardRetainAll()
DMultisets.java164 public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
910 static boolean retainAllImpl(Multiset<?> self, Collection<?> elementsToRetain) {
911 checkNotNull(elementsToRetain);
913 (elementsToRetain instanceof Multiset)
914 ? ((Multiset<?>) elementsToRetain).elementSet()
915 : elementsToRetain;
DIterables.java157 public static boolean retainAll(Iterable<?> removeFrom, Collection<?> elementsToRetain) { in retainAll() argument
159 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll()
160 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); in retainAll()
DIterators.java241 public static boolean retainAll(Iterator<?> removeFrom, Collection<?> elementsToRetain) {
242 checkNotNull(elementsToRetain);
245 if (!elementsToRetain.contains(removeFrom.next())) {
/external/guava/guava/src/com/google/common/collect/
DForwardingMultiset.java205 protected boolean standardRetainAll(Collection<?> elementsToRetain) { in standardRetainAll() argument
206 return Multisets.retainAllImpl(this, elementsToRetain); in standardRetainAll()
DAbstractMultiset.java118 public final boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
119 return Multisets.retainAllImpl(this, elementsToRetain); in retainAll()
DMultisets.java196 public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
921 static boolean retainAllImpl(Multiset<?> self, Collection<?> elementsToRetain) {
922 checkNotNull(elementsToRetain);
924 (elementsToRetain instanceof Multiset)
925 ? ((Multiset<?>) elementsToRetain).elementSet()
926 : elementsToRetain;
DIterables.java171 public static boolean retainAll(Iterable<?> removeFrom, Collection<?> elementsToRetain) { in retainAll() argument
173 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain)) in retainAll()
174 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain); in retainAll()
DIterators.java241 public static boolean retainAll(Iterator<?> removeFrom, Collection<?> elementsToRetain) {
242 checkNotNull(elementsToRetain);
245 if (!elementsToRetain.contains(removeFrom.next())) {
/external/guava/android/guava-testlib/src/com/google/common/collect/testing/
DMinimalCollection.java122 public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMinimalCollection.java122 public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument