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

Method checkKey

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

check a key for validity (non-null and implements Comparable) @param key the key to be checked @exception NullPointerException if key is null @exception ClassCastException if key is not Comparable

(Object key)

Source from the content-addressed store, hash-verified

1219 * @exception ClassCastException if key is not Comparable
1220 */
1221 private static void checkKey(Object key)
1222 {
1223 checkNonNullComparable(key, _KEY);
1224 }
1225
1226 /**
1227 * check a value for validity (non-null and implements Comparable)

Callers 2

checkKeyAndValueMethod · 0.95
containsKeyMethod · 0.95

Calls 1

Tested by

no test coverage detected