MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / pollLastEntry

Method pollLastEntry

vm/JavaAPI/src/java/util/TreeMap.java:5293–5300  ·  view source on GitHub ↗

{@inheritDoc} @see java.util.NavigableMap#pollLastEntry() @since 1.6

()

Source from the content-addressed store, hash-verified

5291 * @since 1.6
5292 */
5293 public Map.Entry<K, V> pollLastEntry() {
5294 Entry<K, V> node = findBiggestEntry();
5295 SimpleImmutableEntry<K, V> result = newImmutableEntry(node);
5296 if (null != node) {
5297 remove(node.key);
5298 }
5299 return result;
5300 }
5301
5302 /**
5303 * {@inheritDoc}

Callers

nothing calls this directly

Calls 3

findBiggestEntryMethod · 0.95
newImmutableEntryMethod · 0.95
removeMethod · 0.95

Tested by

no test coverage detected