BooleanControl, BooleanSensor, FunctionData
| Modifier and Type | Field and Description |
|---|---|
| public static final String | FIELD_VALUE
Represents the value field name. |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| public | BooleanData(Map<String, ?>
Contains the new fields)BooleanData instance field values.Constructs new |
| public | BooleanData(long
The boolean data timestamp optional field. timestamp, Map<String, ?> The boolean data metadata optional field. metadata, boolean The boolean value mandatory field. value)Constructs new |
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: -1, 0 or 1 depending on the comparison
rules.BooleanData to be compared.Overrides org. Implements java. Compares this |
| public boolean | Returns: true if this object is equivalent to the specified one.The object to compare this data. o)Overrides org. Two |
| public boolean | |
| public int | Returns: The hash code of thisBooleanData object.Overrides org. Returns the hash code for this |
| public String | Returns: The string representation of this boolean data.Overrides java. Returns the string representation of this boolean data. |
| FIELD_VALUE | back to summary |
|---|---|
| public static final String FIELD_VALUE Represents the value field name. The field value is available with
| |
| value | back to summary |
|---|---|
| private final boolean value | |
| BooleanData | back to summary |
|---|---|
| public BooleanData(Map<String, ?> fields) Constructs new
| |
| BooleanData | back to summary |
|---|---|
| public BooleanData(long timestamp, Map<String, ?> metadata, boolean value) Constructs new | |
| compareTo | back to summary |
|---|---|
| public int compareTo(Object o) Overrides org. Implements java. Compares this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides org. Two
| |
| getValue | back to summary |
|---|---|
| public boolean getValue() Returns
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides org. Returns the hash code for this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Returns the string representation of this boolean data. | |