| Modifier and Type | Method and Description |
|---|---|
static ArrayString |
fromOrEmpty(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrEmpty(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
fromOrEmpty(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrEmpty(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static <T extends Key> |
fromOrEmpty(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static ArrayString |
fromOrEmpty(String... items)
This method creates new array instance with a variable number of
string arguments. |
static ArrayString |
fromOrNull(boolean asSet,
Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrNull(IsColor... items)
Creates a java script array of strings starting from array of colors.
|
static ArrayString |
fromOrNull(Key... items)
Creates a java script array of strings starting from array of keys.
|
static ArrayString |
fromOrNull(List<String> items)
Creates a java script array of strings starting from list of strings.
|
static <T extends Key> |
fromOrNull(Set<T> items)
Creates a java script array of strings starting from set of keys.
|
static ArrayString |
fromOrNull(String... items)
This method creates new array instance with a variable number of
string arguments. |
String |
get(int index)
Gets the value at a given index.
|
@JsOverlay public static ArrayString fromOrNull(String... items)
string arguments.items - string items to create new arraynull if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(String... items)
string arguments.items - string items to create new arraynull or length to 0@JsOverlay public static ArrayString fromOrNull(List<String> items)
items - list of strings to load in the new java script array.null if argument is null or empty@JsOverlay public static ArrayString fromOrEmpty(List<String> items)
items - list of strings to load in the new java script array.null or empty@JsOverlay public static ArrayString fromOrNull(IsColor... items)
items - array of colors to load in the new java script array.null if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(IsColor... items)
items - array of colors to load in the new java script array.null or length to 0@JsOverlay public static ArrayString fromOrNull(Key... items)
items - array of keys to load in the new java script array.null if argument is null or length to 0@JsOverlay public static ArrayString fromOrNull(boolean asSet, Key... items)
items - array of keys to load in the new java script array.asSet - if true, the array is build without duplicates, as a setnull if argument is null or length to 0@JsOverlay public static ArrayString fromOrEmpty(Key... items)
items - array of keys to load in the new java script array.null or length to 0@JsOverlay public static ArrayString fromOrEmpty(boolean asSet, Key... items)
items - array of keys to load in the new java script array.asSet - if true, the array is build without duplicates, as a setnull or length to 0@JsOverlay public static <T extends Key> ArrayString fromOrNull(Set<T> items)
T - type of the keyitems - set of keys to load in the new java script array.null if argument is null or empty@JsOverlay public static <T extends Key> ArrayString fromOrEmpty(Set<T> items)
T - type of the keyitems - set of keys to load in the new java script array.null or empty@JsOverlay public String get(int index)
index - the index to be retrieved