Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/jankotek/mapdb
/ pollLast
Method
pollLast
src/main/java/org/mapdb/BTreeMapJava.java:449–457 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
447
}
448
449
@Override
450
public
E pollLast() {
451
while
(true){
452
E e = m.lastKey2();
453
if
(e==null || m.remove(e)!=null){
454
return
e;
455
}
456
}
457
}
458
459
@Override
460
public
Iterator<E> iterator() {
Callers
15
testPollLast
Method · 0.80
test_AscendingSubMapKeySet_pollLast_startExcluded_endExcluded
Method · 0.80
test_AscendingSubMapKeySet_pollLast_startExcluded_endIncluded
Method · 0.80
test_AscendingSubMapKeySet_pollLast_startIncluded_endExcluded
Method · 0.80
test_AscendingSubMapKeySet_pollLast_startIncluded_endIncluded
Method · 0.80
test_AscendingSubMapKeySet_pollLast
Method · 0.80
test_AscendingSubMapEntrySet_pollLast_startExcluded_endExcluded
Method · 0.80
test_AscendingSubMapEntrySet_pollLast_startExcluded_endIncluded
Method · 0.80
test_AscendingSubMapEntrySet_pollLast_startIncluded_endExcluded
Method · 0.80
test_AscendingSubMapEntrySet_pollLast_startIncluded_endIncluded
Method · 0.80
testPollLast
Method · 0.80
testPollLast
Method · 0.80
Calls
2
lastKey2
Method · 0.65
remove
Method · 0.45
Tested by
15
testPollLast
Method · 0.64
test_AscendingSubMapKeySet_pollLast_startExcluded_endExcluded
Method · 0.64
test_AscendingSubMapKeySet_pollLast_startExcluded_endIncluded
Method · 0.64
test_AscendingSubMapKeySet_pollLast_startIncluded_endExcluded
Method · 0.64
test_AscendingSubMapKeySet_pollLast_startIncluded_endIncluded
Method · 0.64
test_AscendingSubMapKeySet_pollLast
Method · 0.64
test_AscendingSubMapEntrySet_pollLast_startExcluded_endExcluded
Method · 0.64
test_AscendingSubMapEntrySet_pollLast_startExcluded_endIncluded
Method · 0.64
test_AscendingSubMapEntrySet_pollLast_startIncluded_endExcluded
Method · 0.64
test_AscendingSubMapEntrySet_pollLast_startIncluded_endIncluded
Method · 0.64
testPollLast
Method · 0.64
testPollLast
Method · 0.64