MCPcopy Create free account
hub / github.com/apache/pig / contains

Method contains

src/org/apache/pig/impl/util/IdentityHashSet.java:52–54  ·  view source on GitHub ↗
(Object element)

Source from the content-addressed store, hash-verified

50 }
51
52 public boolean contains(Object element) {
53 return map.containsKey(element);
54 }
55
56 public boolean containsAll(Collection<?> elements) {
57 for (Object element : elements) {

Calls 1

containsKeyMethod · 0.45

Tested by 15

verifyResultsMethod · 0.36
testGenericUnionMethod · 0.36
testGetPathsMethod · 0.36
testMergeSchema7Method · 0.36
testMergeSchema8Method · 0.36
testGenericUnionMethod · 0.36
verifyResultsMethod · 0.36
toBagMethod · 0.36