MCPcopy Create free account
hub / github.com/antlr/codebuff / removeAll

Method removeAll

output/java_guava/1.4.16/Iterators.java:230–233  ·  view source on GitHub ↗

Traverses an iterator and removes every element that belongs to the provided collection. The iterator will be left exhausted: its hasNext() method will return false. @param removeFrom the iterator to (potentially) remove elements from @param elementsToRemove the elements to remove @

(Iterator<?> removeFrom, Collection<?> elementsToRemove)

Source from the content-addressed store, hash-verified

228 */
229
230 @CanIgnoreReturnValue
231 public static boolean removeAll(Iterator<?> removeFrom, Collection<?> elementsToRemove) {
232 return removeIf(removeFrom, in(elementsToRemove));
233 }
234
235 /**
236 * Removes every element that satisfies the provided predicate from the

Callers 5

removeAllMethod · 0.95
removeAllMethod · 0.95
removeAllMethod · 0.95
removeAllImplMethod · 0.95
standardRemoveAllMethod · 0.95

Calls 2

removeIfMethod · 0.95
inMethod · 0.45

Tested by

no test coverage detected