Class SetUtils
- java.lang.Object
-
- org.craftercms.commons.collections.SetUtils
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> Set<T>
asSet(T... array)
Creates a set from the array elements.
-
-
-
Method Detail
-
asSet
@SafeVarargs public static <T> Set<T> asSet(T... array)
Creates a set from the array elements.- Parameters:
array
- the array with the elements- Returns:
- the set with the elements
-
-