Class NativeArrayDoubleContainer
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeArrayContainer<ArrayDouble>
-
- org.pepstock.charba.client.commons.NativeArrayDoubleContainer
-
- Direct Known Subclasses:
FloatingData
public abstract class NativeArrayDoubleContainer extends NativeArrayContainer<ArrayDouble>
Extends the base class of an array container where the wrapped array is an array of doubles.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeArrayDoubleContainer(ArrayDouble nativeArray)
Creates the object with native double array instance to be wrapped.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
Removes all of the elements from this array.protected void
push(double... items)
Adds an array of elements to the end of an array.-
Methods inherited from class org.pepstock.charba.client.commons.NativeArrayContainer
getNativeArray, toJSON
-
-
-
-
Constructor Detail
-
NativeArrayDoubleContainer
protected NativeArrayDoubleContainer(ArrayDouble nativeArray)
Creates the object with native double array instance to be wrapped.- Parameters:
nativeArray
- native double array instance to be wrapped.
-
-
Method Detail
-
clear
protected final void clear()
Removes all of the elements from this array. The object will be empty after this call returns.
-
push
protected final void push(double... items)
Adds an array of elements to the end of an array.- Parameters:
items
- an array of elements to add to the end of the array.
-
-