public class InventoryCapacity extends IntProperty
Property.Operatoroperator, value| Constructor and Description |
|---|
InventoryCapacity(int capacity)
Creates a new InventoryCapacity property with the specified value.
|
InventoryCapacity(int capacity,
Property.Operator operator)
Create a new InventoryCapacity property with the specified value.
|
| Modifier and Type | Method and Description |
|---|---|
static InventoryCapacity |
of(int capacity)
Create an InventoryCapacity property which matches InventoryCapacity
properties with equal value.
|
compareTo, greaterThan, greaterThanOrEqual, lessThan, lessThanOrEqual, not, ofequals, getDefaultKey, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matchespublic InventoryCapacity(int capacity)
capacity - Capacity to matchpublic InventoryCapacity(int capacity,
Property.Operator operator)
capacity - size to matchoperator - logical operator to use when comparing this property with
other propertiespublic static InventoryCapacity of(int capacity)
capacity - value to match