MCPcopy Create free account
hub / github.com/ReadyTalk/avian / removeAll

Method removeAll

classpath/java/util/ArrayDeque.java:174–183  ·  view source on GitHub ↗
(Collection<?> c)

Source from the content-addressed store, hash-verified

172 }
173
174 @Override
175 public boolean removeAll(Collection<?> c) {
176 boolean removed = false;
177 Iterator<?> it = c.iterator();
178 while (it.hasNext()) {
179 removed = remove(it.next()) || removed;
180 }
181
182 return removed;
183 }
184
185 private boolean remove(Object o, boolean first) {
186 modCount++;

Callers

nothing calls this directly

Calls 4

removeMethod · 0.95
iteratorMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected