public class DoubleProperty extends AbstractProperty<String,Double>
FoodRestorationProperty
, SaturationProperty
etc.Property.Operator
operator, value
Constructor and Description |
---|
DoubleProperty(double value)
Create a new integer property with the specified value.
|
DoubleProperty(double value,
Property.Operator operator)
Create a new integer property with the specified value and logical
operator.
|
DoubleProperty(Object value,
Property.Operator operator)
Create a new integer property with the specified value and logical
operator.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> other) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public DoubleProperty(double value)
value
- value to matchpublic DoubleProperty(double value, Property.Operator operator)
value
- value to matchoperator
- logical operator to use when comparing to other
propertiespublic DoubleProperty(Object value, Property.Operator operator)
value
- value to matchoperator
- logical operator to use when comparing to other
propertiespublic int compareTo(Property<?,?> other)