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

Method firstEntry

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

Source from the content-addressed store, hash-verified

879 return ret; }
880
881 @Override
882 public Map.Entry<K,V> firstEntry() {
883 Entry<K,V> k =
884 lo==null ?
885 m.firstEntry():
886 m.findHigher(lo, loInclusive);
887 return k!=null && inBounds(k.getKey())? k : null;
888 }
889
890 @Override
891 public Map.Entry<K,V> lastEntry() {

Callers 8

ceilingEntryMethod · 0.95
pollFirstEntryMethod · 0.95
testFirstEntryMethod · 0.45
testFirstEntryMethod · 0.45
testDescendingMapMethod · 0.45
testPollFirstEntryMethod · 0.45
lastEntryMethod · 0.45

Calls 2

inBoundsMethod · 0.95
getKeyMethod · 0.80

Tested by 5

testFirstEntryMethod · 0.36
testFirstEntryMethod · 0.36
testDescendingMapMethod · 0.36
testPollFirstEntryMethod · 0.36