Home
last modified time | relevance | path

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

/external/guava/src/com/google/common/collect/
DAbstractMultiset.java186 @Override public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument
187 checkNotNull(elementsToRetain); in retainAll()
192 if (!elementsToRetain.contains(entry.getElement())) { in retainAll()
DIterables.java129 Iterable<?> removeFrom, Collection<?> elementsToRetain) {
131 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain))
132 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
DIterators.java208 Iterator<?> removeFrom, Collection<?> elementsToRetain) {
209 checkNotNull(elementsToRetain);
212 if (!elementsToRetain.contains(removeFrom.next())) {
DAbstractMapBasedMultiset.java386 @Override public boolean retainAll(Collection<?> elementsToRetain) {
387 return Iterators.retainAll(iterator(), elementsToRetain);
DMultisets.java128 @Override public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument