public class BooleanDataPoint extends DataPoint
dataPointMap
Constructor and Description |
---|
BooleanDataPoint(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 |
---|---|
boolean |
getValue()
Get the value of this DataPoint
|
void |
setValue(boolean 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 BooleanDataPoint(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(boolean value)
value
- the value to setpublic boolean getValue()
public java.lang.String toString()
toString
in class java.lang.Object