public class TemperatureProperty extends DoubleProperty
Property.Operator
operator, value
Constructor and Description |
---|
TemperatureProperty(double value)
Creates a new
TemperatureProperty . |
TemperatureProperty(double value,
Property.Operator operator)
Creates a new
TemperatureProperty . |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public TemperatureProperty(double value)
TemperatureProperty
.value
- The value of the temperature of the blockpublic TemperatureProperty(double value, Property.Operator operator)
TemperatureProperty
.value
- The value of the temperature of the blockoperator
- The operator for comparisons