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

Method containsAll

classpath/java/util/LinkedHashMap.java:197–210  ·  view source on GitHub ↗
(Collection<?> c)

Source from the content-addressed store, hash-verified

195 }
196
197 public boolean containsAll(Collection<?> c) {
198 if (c == null) {
199 throw new NullPointerException("collection is null");
200 }
201
202 Iterator<?> it = c.iterator();
203 while (it.hasNext()) {
204 if (! contains(it.next())) {
205 return false;
206 }
207 }
208
209 return true;
210 }
211
212 public boolean add(V value) {
213 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