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

Method containsAllImpl

output/java_guava/1.4.18/Collections2.java:291–293  ·  view source on GitHub ↗

Returns true if the collection self contains all of the elements in the collection c. This method iterates over the specified collection c, checking each element returned by the iterator in turn to see if it is contained in the specified collection self. I

(Collection<?> self, Collection<?> c)

Source from the content-addressed store, hash-verified

289 */
290
291 static boolean containsAllImpl(Collection<?> self, Collection<?> c) {
292 return Iterables.all(c, Predicates.in(self));
293 }
294
295 /**
296 * An implementation of {@link Collection#toString()}.

Callers 4

containsAllMethod · 0.95
containsAllMethod · 0.95
standardContainsAllMethod · 0.95
containsAllMethod · 0.45

Calls 2

allMethod · 0.95
inMethod · 0.95

Tested by

no test coverage detected