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

Method cmp

vm/JavaAPI/src/java/util/TreeMap.java:4387–4390  ·  view source on GitHub ↗
(java.lang.Comparable<K> object, K key1, K key2)

Source from the content-addressed store, hash-verified

4385 }
4386
4387 private int cmp(java.lang.Comparable<K> object, K key1, K key2) {
4388 return object != null ? object.compareTo(key2) : comparator.compare(
4389 key1, key2);
4390 }
4391
4392 /**
4393 * Maps the specified key to the specified value.

Callers 15

containsKeyMethod · 0.95
findMethod · 0.95
findCeilingEntryMethod · 0.95
findFloorEntryMethod · 0.95
findLowerEntryMethod · 0.95
findHigherEntryMethod · 0.95
findNodeMethod · 0.95
getMethod · 0.95
putImplMethod · 0.95
removeMethod · 0.95
setFirstKeyMethod · 0.45
setLastKeyMethod · 0.45

Calls 2

compareToMethod · 0.65
compareMethod · 0.65

Tested by

no test coverage detected