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

Method newLinkedHashSet

output/java_guava/1.4.16/Sets.java:312–314  ·  view source on GitHub ↗

Creates a mutable , empty LinkedHashSet instance. Note: if mutability is not required, use ImmutableSet#of() instead. Note for Java 7 and later: this method is now unnecessary and should be treated as deprecated. Instead, use the LinkedHashSet cons

()

Source from the content-addressed store, hash-verified

310
311
312 public static <E> LinkedHashSet<E> newLinkedHashSet() {
313 return new LinkedHashSet<E>();
314 }
315
316 /**
317 * Creates a {@code LinkedHashSet} instance, with a high enough "initial capacity" that it

Callers 2

removeMethod · 0.95
getAllMethod · 0.95

Calls 2

castMethod · 0.95
addAllMethod · 0.95

Tested by

no test coverage detected