Package org.wicketstuff.jqplot.lib.data
Class NumberData<T extends Number>
- java.lang.Object
-
- org.wicketstuff.jqplot.lib.data.NumberData<T>
-
- Type Parameters:
T- the generic type
- All Implemented Interfaces:
Serializable,ChartData<T>
- Direct Known Subclasses:
MeterData
public abstract class NumberData<T extends Number> extends Object implements ChartData<T>
Helper to handle Data Number with generics.- Author:
- inaiat
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NumberData(T value)Instantiates a new number data.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description TgetData()Gets the data.voidsetValue(T value)Sets the value.intsize()Gets the size of the data.abstract StringtoJsonString()To json string.
-
-
-
Constructor Detail
-
NumberData
public NumberData(T value)
Instantiates a new number data.- Parameters:
value- the value
-
-