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

Method newLinkedHashSet

corpus/java/training/guava/collect/Sets.java:294–296  ·  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

292 * @return a new, empty {@code LinkedHashSet}
293 */
294 public static <E> LinkedHashSet<E> newLinkedHashSet() {
295 return new LinkedHashSet<E>();
296 }
297
298 /**
299 * Creates a {@code LinkedHashSet} instance, with a high enough "initial capacity" that it

Callers 2

getAllMethod · 0.95
removeMethod · 0.95

Calls 2

castMethod · 0.95
addAllMethod · 0.95

Tested by

no test coverage detected