MCPcopy Create free account
hub / github.com/GateNLP/gate-core / RBTreeMap

Method RBTreeMap

src/main/java/gate/util/RBTreeMap.java:77–78  ·  view source on GitHub ↗

Constructs a new, empty map, sorted according to the keys' natural order. All keys inserted into the map must implement the Comparable interface. Furthermore, all such keys must be mutually comparable : k1.compareTo(k2) must not throw a ClassCastException for any elements <

()

Source from the content-addressed store, hash-verified

75 * @see Comparable
76 */
77 public RBTreeMap() {
78 }
79
80 /**
81 * Constructs a new, empty map, sorted according to the given comparator.

Callers

nothing calls this directly

Calls 6

putAllMethod · 0.95
buildFromSortedMethod · 0.95
sizeMethod · 0.65
iteratorMethod · 0.65
comparatorMethod · 0.45
entrySetMethod · 0.45

Tested by

no test coverage detected