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

Method containsAll

classpath/java/util/TreeMap.java:235–248  ·  view source on GitHub ↗
(Collection<?> c)

Source from the content-addressed store, hash-verified

233 }
234
235 public boolean containsAll(Collection<?> c) {
236 if (c == null) {
237 throw new NullPointerException("collection is null");
238 }
239
240 Iterator<?> it = c.iterator();
241 while (it.hasNext()) {
242 if (! contains(it.next())) {
243 return false;
244 }
245 }
246
247 return true;
248 }
249
250 public boolean add(V value) {
251 throw new UnsupportedOperationException();

Callers

nothing calls this directly

Calls 4

containsMethod · 0.95
iteratorMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected