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)
elements
- the elements to fill the new setCopyright © 2016 The Apache Software Foundation. All rights reserved.