Creates a mutable , initially empty HashSet instance. Note: if mutability is not required, use ImmutableSet#of() instead. If E is an Enum type, use EnumSet#noneOf instead. Otherwise, strongly consider using a LinkedHashSet instead, at
()
| 167 | |
| 168 | |
| 169 | public static <E> HashSet<E> newHashSet() { |
| 170 | return new HashSet<E>(); |
| 171 | } |
| 172 | |
| 173 | /** |
| 174 | * Creates a <i>mutable</i> {@code HashSet} instance initially containing the given elements. |
no test coverage detected