Constructor and Description |
---|
SetUtils() |
Modifier and Type | Method and Description |
---|---|
static <E> Set<E> |
newHashSet(E... elements)
Returns a new
HashSet with the given elements |
@SafeVarargs public static <E> Set<E> newHashSet(E... elements)
HashSet
with the given elementselements
- The elementsHashSet
with the given elementsCopyright © 2005–2017. All rights reserved.