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