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

Method keyCompare

Ports/CLDC11/src/java/util/TreeMap.java:5466–5469  ·  view source on GitHub ↗
(K left, K right)

Source from the content-addressed store, hash-verified

5464 }
5465
5466 int keyCompare(K left, K right) {
5467 return (null != comparator()) ? comparator().compare(left, right)
5468 : toComparable(left).compareTo(right);
5469 }
5470
5471 static <K, V> Node<K, V> minimum(Node<K, V> x) {
5472 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