MCPcopy Index your code
hub / github.com/davidgiven/luje / toComparable

Method toComparable

lib/java/util/TreeMap.java:161–167  ·  view source on GitHub ↗
(T obj)

Source from the content-addressed store, hash-verified

159 }
160
161 @SuppressWarnings("unchecked")
162 private static <T> Comparable<T> toComparable(T obj) {
163 if (obj == null) {
164 throw new NullPointerException();
165 }
166 return (Comparable) obj;
167 }
168
169 static class AbstractMapIterator <K,V> {
170 TreeMap<K, V> backingMap;

Callers 14

containsKeyMethod · 0.95
getMethod · 0.95
headMapMethod · 0.95
putMethod · 0.95
removeMethod · 0.95
subMapMethod · 0.95
tailMapMethod · 0.95
checkRangeMethod · 0.80
isInRangeMethod · 0.80
checkUpperBoundMethod · 0.80
checkLowerBoundMethod · 0.80
setFirstKeyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected