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
()
| 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 |