MCPcopy Create free account
hub / github.com/apache/poi / containsKey

Method containsKey

src/java/org/apache/poi/util/BinaryTree.java:1364–1369  ·  view source on GitHub ↗

Returns true if this map contains a mapping for the specified key. @param key key whose presence in this map is to be tested. @return true if this map contains a mapping for the specified key. @exception ClassCastException if the key is of an inappropriate ty

(Object key)

Source from the content-addressed store, hash-verified

1362 * @exception NullPointerException if the key is null
1363 */
1364 public boolean containsKey(Object key)
1365 throws ClassCastException, NullPointerException
1366 {
1367 checkKey(key);
1368 return lookup(( Comparable ) key, _KEY) != null;
1369 }
1370
1371 /**
1372 * Returns true if this map maps one or more keys to the

Callers 15

containsMethod · 0.95
testContainsKeyMethod · 0.95
testClearMethod · 0.95
testKeySetMethod · 0.95
testValuesMethod · 0.95
testKeySetByValueMethod · 0.95
testValuesByValueMethod · 0.95
readMethod · 0.45
XSLFRelationMethod · 0.45
XSSFRelationMethod · 0.45
addEntryMethod · 0.45
putNumberFormatMethod · 0.45

Calls 2

checkKeyMethod · 0.95
lookupMethod · 0.95

Tested by 7

testContainsKeyMethod · 0.76
testClearMethod · 0.76
testKeySetMethod · 0.76
testValuesMethod · 0.76
testKeySetByValueMethod · 0.76
testValuesByValueMethod · 0.76
traverseMethod · 0.36