MCPcopy Index your code
hub / github.com/antlr/codebuff / newTreeMap

Method newTreeMap

output/java_guava/1.4.19/Maps.java:343–345  ·  view source on GitHub ↗

Creates a mutable , empty TreeMap instance using the natural ordering of its elements. Note: if mutability is not required, use ImmutableSortedMap#of() instead. Note for Java 7 and later: this method is now unnecessary and should be treated as deprecated.

()

Source from the content-addressed store, hash-verified

341
342
343 public static <K extends Comparable, V> TreeMap<K, V> newTreeMap() {
344 return new TreeMap<K, V>();
345 }
346
347 /**
348 * Creates a <i>mutable</i> {@code TreeMap} instance with the same mappings as

Callers 2

differenceMethod · 0.95
TreeRangeMapMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected