public class EquipmentProperty extends AbstractProperty<String,EquipmentType>
EquipmentType
that the item can be used in an
equipment inventory.Property.Operator
operator, value
Constructor and Description |
---|
EquipmentProperty(EquipmentType value)
Constructs a new
EquipmentProperty . |
EquipmentProperty(EquipmentType value,
Property.Operator op)
Constructs a new
EquipmentProperty . |
EquipmentProperty(Object value,
Property.Operator operator)
Constructs a new
EquipmentProperty . |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public EquipmentProperty(@Nullable EquipmentType value)
EquipmentProperty
.value
- The equipment typepublic EquipmentProperty(@Nullable EquipmentType value, Property.Operator op)
EquipmentProperty
.value
- The equipment typeop
- The operator to use to comparepublic EquipmentProperty(Object value, Property.Operator operator)
EquipmentProperty
.value
- EquipmentType to matchoperator
- logical operator to apply when comparing with other
propertiespublic int compareTo(Property<?,?> o)