public final class ArraySetHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static ArrayStringSet |
set(ArrayString values)
Creates a array set of strings by a java script array of strings.
|
static <E extends Key> |
set(ArrayString array,
KeyFactory<E> factory)
Creates a array set of
Key values by an java script array of strings. |
static Set<String> |
unmodifiableSet(ArrayString values)
Creates a array set of strings by a java script array of strings.
|
static <E extends Key> |
unmodifiableSet(ArrayString array,
KeyFactory<E> factory)
Creates an unmodifiable array set of
Key values by an java script array of strings. |
public static ArrayStringSet set(ArrayString values)
values - array of elements to load when the set is creating.public static <E extends Key> ArrayKeySet<E> set(ArrayString array, KeyFactory<E> factory)
Key values by an java script array of strings.E - type of keyarray - array of strings to load when the set is creating.factory - factory implementation to create keys by a single native object of the array.Key.public static Set<String> unmodifiableSet(ArrayString values)
values - array of elements to load when the set is creating.public static <E extends Key> Set<E> unmodifiableSet(ArrayString array, KeyFactory<E> factory)
Key values by an java script array of strings.E - type of keyarray - array of strings to load when the set is creating.factory - factory implementation to create keys by a single native object of the array.Key.