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

Method keyCompare

vm/JavaAPI/src/java/util/TreeMap.java:5399–5402  ·  view source on GitHub ↗
(K left, K right)

Source from the content-addressed store, hash-verified

5397 }
5398
5399 int keyCompare(K left, K right) {
5400 return (null != comparator()) ? comparator().compare(left, right)
5401 : toComparable(left).compareTo(right);
5402 }
5403
5404 static <K, V> Node<K, V> minimum(Node<K, V> x) {
5405 if (x == null) {

Callers 11

subMapMethod · 0.95
headMapMethod · 0.95
tailMapMethod · 0.95
subSetMethod · 0.45
subSetMethod · 0.45
subMapMethod · 0.45
headMapMethod · 0.45
tailMapMethod · 0.45
pollFirstEntryMethod · 0.45
pollLastEntryMethod · 0.45

Calls 4

comparatorMethod · 0.95
toComparableMethod · 0.95
compareMethod · 0.65
compareToMethod · 0.65

Tested by

no test coverage detected