Class Simple
java.lang.Object
com.iizix.prop.ui.chart.series.GSeriesValue
com.iizix.prop.ui.chart.series.Simple
- All Implemented Interfaces:
Cloneable
The simple series value is a number.
- Author:
- Christopher Mindus
Field Summary
FieldsConstructor Summary
ConstructorsMethod Summary
Methods inherited from class GSeriesValue
clone, fromString, getString, parseNumber, toString
Field Details
number
public final double numberThe number. An unspecified value is Double.NaN.
Constructor Details
Simple
public Simple(double number) Constructor for a simple number.- Parameters:
number- The number, or Double.NaN for no value.
Method Details
getType
Gets the fill type.- Specified by:
getTypein classGSeriesValue- Returns:
- SIMPLE.
equals
Checks if two fill objects are equal.Compared with
Double.compare(double,double)on the value plus0.0, not with==: an unspecified value isDouble.NaNandNaN==NaNis false. Adding0.0folds-0.0into+0.0so this agrees withhashCode().- Specified by:
equalsin classGSeriesValue
hashCode