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
()
| 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" |
no outgoing calls
no test coverage detected