public class FloatDataPoint extends DataPoint
dataPointMap
Constructor and Description |
---|
FloatDataPoint(java.lang.String label,
boolean isOutput)
Create a new DataPoint with a label and if is an Output or not
|
Modifier and Type | Method and Description |
---|---|
float |
getValue()
Get the value of this DataPoint
|
void |
setValue(float value)
Set the value of this DataPoint and create it if it doesn't exist via the update method
|
java.lang.String |
toString()
Convert this DataPoint to a string
|
getDataPointOnListFromLabel, getLabel, isOutput, update
public FloatDataPoint(java.lang.String label, boolean isOutput)
label
- the label of this DataPointisOutput
- true if this is an Output, false if it's an Inputpublic void setValue(float value)
value
- the value to setpublic float getValue()
public java.lang.String toString()
toString
in class java.lang.Object