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

Method newImmutableEntry

Ports/CLDC11/src/java/util/TreeMap.java:5453–5456  ·  view source on GitHub ↗
(
            TreeMap.Entry<K, V> entry)

Source from the content-addressed store, hash-verified

5451 }
5452
5453 final AbstractMap.SimpleImmutableEntry<K, V> newImmutableEntry(
5454 TreeMap.Entry<K, V> entry) {
5455 return (null == entry) ? null : new SimpleImmutableEntry<K, V>(entry);
5456 }
5457
5458 @SuppressWarnings("unchecked")
5459 private static <T> java.lang.Comparable<T> toComparable(T obj) {

Callers 15

firstEntryMethod · 0.95
lastEntryMethod · 0.95
pollFirstEntryMethod · 0.95
pollLastEntryMethod · 0.95
higherEntryMethod · 0.95
lowerEntryMethod · 0.95
ceilingEntryMethod · 0.95
floorEntryMethod · 0.95
firstEntryMethod · 0.45
lastEntryMethod · 0.45
pollFirstEntryMethod · 0.45
pollLastEntryMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected