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

Method comparator

vm/JavaAPI/src/java/util/TreeMap.java:3765–3767  ·  view source on GitHub ↗

Returns the comparator used to compare elements in this map. @return the comparator or null if the natural ordering is used.

()

Source from the content-addressed store, hash-verified

3763 * @return the comparator or {@code null} if the natural ordering is used.
3764 */
3765 public Comparator<? super K> comparator() {
3766 return comparator;
3767 }
3768
3769 /**
3770 * Returns whether this map contains the specified key.

Callers 1

keyCompareMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected