Modifier and Type | Method and Description |
---|---|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrEmpty(E item)
Creates a java script array of arrays starting from a native array containers and the array will have ONE 1 element.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrEmpty(E[] items)
Creates a java script array of arrays starting from an array of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrEmpty(List<E> items)
Creates a java script array of arrays starting from a list of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrNull(E item)
Creates a java script array of arrays starting from a native array containers and the array will have ONE 1 element.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrNull(E[] items)
Creates a java script array of arrays starting from an array of native array containers.
|
static <E extends NativeArrayContainer<ArrayDouble>> |
fromOrNull(List<E> items)
Creates a java script array of arrays starting from a list of native array containers.
|
ArrayDouble |
get(int index)
Gets the value at a given index.
|
@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrNull(E item)
E
- type of native array containersitem
- single array to load in the new java script array.null
if argument is null
@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrEmpty(E item)
E
- type of native array containersitem
- list of arrays to load in the new java script array.null
@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrNull(E[] items)
E
- type of native array containersitems
- list of arrays to load in the new java script array.null
if argument is null
or length to 0@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrEmpty(E[] items)
E
- type of native array containersitems
- list of arrays to load in the new java script array.null
or length to 0@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrNull(List<E> items)
E
- type of native array containersitems
- list of arrays to load in the new java script array.null
if the argument is null
or empty@JsOverlay public static <E extends NativeArrayContainer<ArrayDouble>> ArrayDoubleArray fromOrEmpty(List<E> items)
E
- type of native array containersitems
- list of arrays to load in the new java script array.null
or empty@JsOverlay public ArrayDouble get(int index)
index
- the index to be retrieved