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

Method newLinkedHashMap

corpus/java/training/guava/collect/Maps.java:246–248  ·  view source on GitHub ↗

Creates a mutable , empty, insertion-ordered LinkedHashMap instance. Note: if mutability is not required, use ImmutableMap#of() instead. Note for Java 7 and later: this method is now unnecessary and should be treated as deprecated. Instead, use the {@code

()

Source from the content-addressed store, hash-verified

244 * @return a new, empty {@code LinkedHashMap}
245 */
246 public static <K, V> LinkedHashMap<K, V> newLinkedHashMap() {
247 return new LinkedHashMap<K, V>();
248 }
249
250 /**
251 * Creates a {@code LinkedHashMap} instance, with a high enough

Callers 9

getAllMethod · 0.95
getAllPresentMethod · 0.95
getAllMethod · 0.95
getAllPresentMethod · 0.95
differenceMethod · 0.95
toMapMethod · 0.95
SparseImmutableTableMethod · 0.95
readObjectMethod · 0.95
getClassPathEntriesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected