MCPcopy Create free account
hub / github.com/davidgiven/luje / headMap

Method headMap

lib/java/util/TreeMap.java:595–601  ·  view source on GitHub ↗
(K endKey)

Source from the content-addressed store, hash-verified

593 }
594
595 public SortedMap<K, V> headMap(K endKey) {
596 checkRange(endKey);
597 if (hasStart) {
598 return new SubMap<K, V>(startKey, backingMap, endKey);
599 }
600 return new SubMap<K, V>(backingMap, endKey);
601 }
602
603 @Override
604 public boolean isEmpty() {

Callers

nothing calls this directly

Calls 1

checkRangeMethod · 0.95

Tested by

no test coverage detected