Class NativeArrayContainer<T extends Array>
- java.lang.Object
-
- org.pepstock.charba.client.commons.NativeArrayContainer<T>
-
- Type Parameters:
T
- type of array
- Direct Known Subclasses:
NativeArrayDoubleContainer
public abstract class NativeArrayContainer<T extends Array> extends Object
Base class for all classes which are wrapping a native java script array.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NativeArrayContainer(T nativeArray)
Creates the object with native array instance to be wrapped.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
getNativeArray()
Returns the native array instance.String
toJSON()
Returns the string JSON representation of the array.
-
-
-
Constructor Detail
-
NativeArrayContainer
protected NativeArrayContainer(T nativeArray)
Creates the object with native array instance to be wrapped.- Parameters:
nativeArray
- native array instance to be wrapped.
-
-