MCPcopy Index your code
hub / github.com/jankotek/mapdb / lastEntry

Method lastEntry

src/main/java/org/mapdb/BTreeMapJava.java:890–898  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

888 }
889
890 @Override
891 public Map.Entry<K,V> lastEntry() {
892 Entry<K,V> k =
893 hi==null ?
894 m.lastEntry():
895 m.findLower(hi, hiInclusive);
896
897 return k!=null && inBounds(k.getKey())? k : null;
898 }
899
900 @Override
901 public Entry<K, V> pollFirstEntry() {

Callers 8

lowerEntryMethod · 0.95
floorEntryMethod · 0.95
pollLastEntryMethod · 0.95
testLastEntryMethod · 0.45
testLastEntryMethod · 0.45
testDescendingMapMethod · 0.45
firstEntryMethod · 0.45

Calls 2

inBoundsMethod · 0.95
getKeyMethod · 0.80

Tested by 4

testLastEntryMethod · 0.36
testLastEntryMethod · 0.36
testDescendingMapMethod · 0.36