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

Method removeAllImpl

output/java_guava/1.4.17/Sets.java:1632–1638  ·  view source on GitHub ↗

Remove each element in an iterable from a set.

(Set<?> set, Iterator<?> iterator)

Source from the content-addressed store, hash-verified

1630
1631
1632 static boolean removeAllImpl(Set<?> set, Iterator<?> iterator) {
1633 boolean changed = false;
1634 while (iterator.hasNext()) {
1635 changed |= set.remove(iterator.next());
1636 }
1637 return changed;
1638 }
1639
1640
1641 static boolean removeAllImpl(Set<?> set, Collection<?> collection) {

Callers 6

removeAllMethod · 0.95
standardRemoveAllMethod · 0.95
removeAllMethod · 0.95
removeAllMethod · 0.95
removeAllMethod · 0.95
removeAllMethod · 0.45

Calls 8

removeAllMethod · 0.95
removeMethod · 0.65
nextMethod · 0.65
elementSetMethod · 0.65
sizeMethod · 0.65
iteratorMethod · 0.65
hasNextMethod · 0.45
checkNotNullMethod · 0.45

Tested by

no test coverage detected