Package | Description |
---|---|
org.pepstock.charba.client.commons |
Core classes to manage the inter-operations with java script code.
|
Modifier and Type | Method and Description |
---|---|
static <E extends NativeObjectContainer> |
ArrayObject.from(E item)
Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.
|
static <E extends NativeObjectContainer> |
ArrayObject.from(E[] items)
Creates a java script array of objects starting from an array of native object containers.
|
static <E extends NativeObjectContainer> |
ArrayObject.from(List<E> items)
Creates a java script array of objects starting from a list of native object containers.
|
static <E extends NativeObjectContainer> |
ArrayObject.fromOrNull(E item)
Creates a java script array of objects starting from a native object containers and the array will have ONE 1 element.
|
static <E extends NativeObjectContainer> |
ArrayObject.fromOrNull(E[] items)
Creates a java script array of objects starting from an array of native object containers.
|
static <E extends NativeObjectContainer> |
ArrayObject.fromOrNull(List<E> items)
Creates a java script array of objects starting from a list of native object containers.
|
Modifier and Type | Method and Description |
---|---|
static ArrayObjectList |
ArrayListHelper.list(ArrayObject values)
Creates a array list of generic java script objects by a java script array.
|
static <E extends NativeObjectContainer> |
ArrayListHelper.list(ArrayObject array,
NativeObjectContainerFactory<E> factory)
Creates a array list of java script native object container by a java script array and a factory.
|
static List<NativeObject> |
ArrayListHelper.unmodifiableList(ArrayObject values)
Creates an unmodifiable array list of generic java script objects by a java script array.
|
static <E extends NativeObjectContainer> |
ArrayListHelper.unmodifiableList(ArrayObject array,
NativeObjectContainerFactory<E> factory)
Creates an unmodifiable array list of java script native object container by a java script array and a factory.
|