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) |
static DoubleProperty |
greaterThan(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
value greater than this value.
|
static DoubleProperty |
greaterThanOrEqual(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
value greater than or equal to this value.
|
static DoubleProperty |
lessThan(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
value less than this value.
|
static DoubleProperty |
lessThanOrEqual(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
value less than or equal to this value.
|
static DoubleProperty |
not(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
unequal value.
|
static DoubleProperty |
of(Object value)
Create an DoubleProperty property which matches DoubleProperty properties with
equal value.
|
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches
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)
public static DoubleProperty of(Object value)
value
- value to matchpublic static DoubleProperty not(Object value)
value
- value to matchpublic static DoubleProperty greaterThan(Object value)
value
- value to matchpublic static DoubleProperty greaterThanOrEqual(Object value)
value
- value to matchpublic static DoubleProperty lessThan(Object value)
value
- value to matchpublic static DoubleProperty lessThanOrEqual(Object value)
value
- value to match