public class FluidTemperatureProperty extends IntProperty
Default value is approximately the real-life room temperature of water in degrees Kelvin, otherwise known as 300K.
Property.Operator
operator, value
Constructor and Description |
---|
FluidTemperatureProperty(int value)
Creates a new
FluidTemperatureProperty with the desired temperature. |
FluidTemperatureProperty(int value,
Property.Operator operator)
Creates a new
FluidTemperatureProperty with the desired temperature
and Property.Operator for comparisons. |
compareTo
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public FluidTemperatureProperty(int value)
FluidTemperatureProperty
with the desired temperature.value
- The temperaturepublic FluidTemperatureProperty(int value, Property.Operator operator)
FluidTemperatureProperty
with the desired temperature
and Property.Operator
for comparisons.value
- The temperatureoperator
- The operator