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

Method pollFirstEntry

Ports/CLDC11/src/java/util/TreeMap.java:5318–5325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5316 ///
5317 /// - java.util.NavigableMap#pollFirstEntry()
5318 public Map.Entry<K, V> pollFirstEntry() {
5319 Entry<K, V> node = findSmallestEntry();
5320 SimpleImmutableEntry<K, V> result = newImmutableEntry(node);
5321 if (null != node) {
5322 remove(node.key);
5323 }
5324 return result;
5325 }
5326
5327 /// {@inheritDoc}
5328 ///

Callers

nothing calls this directly

Calls 3

findSmallestEntryMethod · 0.95
newImmutableEntryMethod · 0.95
removeMethod · 0.95

Tested by

no test coverage detected