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 ArrayDouble |
ArrayDouble.fromOrEmpty(double... items)
This method creates new array instance with a variable number of
double arguments. |
static ArrayDouble |
ArrayDouble.fromOrEmpty(List<Double> items)
Creates a java script array of doubles starting from list of doubles.
|
static ArrayDouble |
ArrayDouble.fromOrNull(double... items)
This method creates new array instance with a variable number of
double arguments. |
static ArrayDouble |
ArrayDouble.fromOrNull(List<Double> items)
Creates a java script array of doubles starting from list of doubles.
|
protected ArrayDouble |
NativeObjectContainer.getValueOrArray(Key key,
double defaultValue)
Returns a value (array) into embedded JavaScript object at specific property.
This must be used when a java script property can contain an array or a double. |
Modifier and Type | Method and Description |
---|---|
static ArrayDoubleList |
ArrayListHelper.list(ArrayDouble values)
Creates a array list of doubles by a java script array of doubles.
|
static List<Double> |
ArrayListHelper.unmodifiableList(ArrayDouble values)
Creates an unmodifiable array list of doubles by a java script array of doubles.
|