| Modifier and Type | Method and Description | 
|---|---|
| static <E> HashSet<E> | newHashSet(E... elements)Creates a new HashSet filled with the given elements | 
public static <E> HashSet<E> newHashSet(E... elements)
E - type of elements contained in new setelements - the elements to fill the new setCopyright © 2018 The Apache Software Foundation. All rights reserved.