Package org.pepstock.charba.client.data
Class FloatingDataFactory
- java.lang.Object
-
- org.pepstock.charba.client.data.FloatingDataFactory
-
- All Implemented Interfaces:
NativeArrayContainerFactory<ArrayDouble,FloatingData>
public final class FloatingDataFactory extends Object implements NativeArrayContainerFactory<ArrayDouble,FloatingData>
Factory to create a floating data from a native array, used for array container lists.
The array must contain and only 2 values.- Author:
- Andrea "Stock" Stocchero
-
-
Constructor Summary
Constructors Constructor Description FloatingDataFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FloatingData
create(ArrayDouble nativeArray)
Creates a native array container instance by a native array.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.commons.NativeArrayContainerFactory
create
-
-
-
-
Method Detail
-
create
public FloatingData create(ArrayDouble nativeArray)
Description copied from interface:NativeArrayContainerFactory
Creates a native array container instance by a native array.- Specified by:
create
in interfaceNativeArrayContainerFactory<ArrayDouble,FloatingData>
- Parameters:
nativeArray
- native object- Returns:
- native array container element instance
-
-