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