public class SlotSide extends AbstractInventoryProperty<String,Direction>
Property.Operator
operator, value
Constructor and Description |
---|
SlotSide(Direction value)
Create a new SlotSide property for matching the specified value.
|
SlotSide(Direction value,
Property.Operator operator)
Create a new SlotSide property for matching the specified value with the
specified operator.
|
SlotSide(Object value,
Property.Operator operator)
Create a new SlotSide property for matching the specified value with the
specified operator.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> other) |
static SlotSide |
not(Object value)
Create a SlotSide property which matches SlotSide properties with unequal
value.
|
static SlotSide |
of(Object value)
Create a SlotSide property which matches SlotSide properties with equal
value.
|
equals, getDefaultKey, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches
public SlotSide(Direction value)
value
- the value to matchpublic SlotSide(Direction value, Property.Operator operator)
value
- the value to matchoperator
- the operator to use when comparing with other propertiespublic SlotSide(Object value, Property.Operator operator)
value
- the value to matchoperator
- the operator to use when comparing with other properties