Searched refs:elementsToRetain (Results 1 – 5 of 5) sorted by relevance
186 @Override public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument187 checkNotNull(elementsToRetain); in retainAll()192 if (!elementsToRetain.contains(entry.getElement())) { in retainAll()
129 Iterable<?> removeFrom, Collection<?> elementsToRetain) {131 ? ((Collection<?>) removeFrom).retainAll(checkNotNull(elementsToRetain))132 : Iterators.retainAll(removeFrom.iterator(), elementsToRetain);
208 Iterator<?> removeFrom, Collection<?> elementsToRetain) {209 checkNotNull(elementsToRetain);212 if (!elementsToRetain.contains(removeFrom.next())) {
386 @Override public boolean retainAll(Collection<?> elementsToRetain) {387 return Iterators.retainAll(iterator(), elementsToRetain);
128 @Override public boolean retainAll(Collection<?> elementsToRetain) { in retainAll() argument