public class BooleanProperty extends AbstractProperty<String,Boolean>
FoodRestorationProperty
, SaturationProperty
etc.Property.Operator
operator, value
Constructor and Description |
---|
BooleanProperty(boolean value)
Create a new integer property with the specified value.
|
BooleanProperty(boolean value,
Property.Operator operator)
Create a new integer property with the specified value and logical
operator.
|
BooleanProperty(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 BooleanProperty(boolean value)
value
- value to matchpublic BooleanProperty(boolean value, Property.Operator operator)
value
- value to matchoperator
- logical operator to use when comparing to other
propertiespublic BooleanProperty(Object value, Property.Operator operator)
value
- value to matchoperator
- logical operator to use when comparing to other
propertiespublic int compareTo(Property<?,?> other)