public class SlotIndex extends IntProperty
Property.Operator
operator, value
Constructor and Description |
---|
SlotIndex(int value)
Creates a new SlotIndex property for the specified value.
|
SlotIndex(int value,
Property.Operator operator)
Creates a new SlotIndex property for the specified value and operator.
|
SlotIndex(Object value,
Property.Operator operator)
Creates a new SlotIndex property for the specified value and operator.
|
Modifier and Type | Method and Description |
---|---|
static SlotIndex |
greaterThan(Object value)
Create a SlotIndex property which matches SlotIndex properties with
value greater than this value.
|
static SlotIndex |
greaterThanOrEqual(Object value)
Create a SlotIndex property which matches SlotIndex properties with
value greater than or equal to this value.
|
static SlotIndex |
lessThan(Object value)
Create a SlotIndex property which matches SlotIndex properties with
value less than this value.
|
static SlotIndex |
lessThanOrEqual(Object value)
Create a SlotIndex property which matches SlotIndex properties with
value less than or equal to this value.
|
static SlotIndex |
not(Object value)
Create a SlotIndex property which matches SlotIndex properties with
unequal value.
|
static SlotIndex |
of(Object value)
Create a SlotIndex property which matches SlotIndex properties with
equal value.
|
compareTo
equals, getDefaultKey, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches
public SlotIndex(int value)
value
- value to matchpublic SlotIndex(int value, Property.Operator operator)
value
- value to matchoperator
- the operator to use when comparing with other propertiespublic SlotIndex(Object value, Property.Operator operator)
value
- value to matchoperator
- the operator to use when comparing with other propertiespublic static SlotIndex of(Object value)
value
- the value to matchpublic static SlotIndex not(Object value)
value
- the value to matchpublic static SlotIndex greaterThan(Object value)
value
- the value to matchpublic static SlotIndex greaterThanOrEqual(Object value)
value
- the value to matchpublic static SlotIndex lessThan(Object value)
value
- the value to match