MCPcopy Create free account
hub / github.com/antlr/codebuff / newHashMap

Method newHashMap

output/java_guava/1.4.17/Maps.java:175–177  ·  view source on GitHub ↗

Creates a mutable , empty HashMap instance. Note: if mutability is not required, use ImmutableMap#of() instead. Note: if K is an enum type, use #newEnumMap instead. Note for Java 7 and later: this method is now unnecessar

()

Source from the content-addressed store, hash-verified

173
174
175 public static <K, V> HashMap<K, V> newHashMap() {
176 return new HashMap<K, V>();
177 }
178
179 /**
180 * Creates a {@code HashMap} instance, with a high enough "initial capacity"

Callers 11

isCyclicMethod · 0.95
readObjectMethod · 0.95
readObjectMethod · 0.95
collectTypesMethod · 0.95
LinkedListMultimapMethod · 0.95
MediaTypeClass · 0.95
readObjectMethod · 0.95
whereMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected