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

Method newImmutableEntry

vm/JavaAPI/src/java/util/TreeMap.java:5386–5389  ·  view source on GitHub ↗
(
            TreeMap.Entry<K, V> entry)

Source from the content-addressed store, hash-verified

5384 }
5385
5386 final AbstractMap.SimpleImmutableEntry<K, V> newImmutableEntry(
5387 TreeMap.Entry<K, V> entry) {
5388 return (null == entry) ? null : new SimpleImmutableEntry<K, V>(entry);
5389 }
5390
5391 @SuppressWarnings("unchecked")
5392 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