public class MatterProperty extends AbstractProperty<String,MatterProperty.Matter>
Modifier and Type | Class and Description |
---|---|
static class |
MatterProperty.Matter |
Property.Operator
operator, value
Constructor and Description |
---|
MatterProperty(MatterProperty.Matter value)
Creates a new
MatterProperty with the provided MatterProperty.Matter
state. |
MatterProperty(MatterProperty.Matter value,
Property.Operator op)
Creates a new
MatterProperty with the provided MatterProperty.Matter
state. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public MatterProperty(MatterProperty.Matter value)
MatterProperty
with the provided MatterProperty.Matter
state.value
- The matter statepublic MatterProperty(MatterProperty.Matter value, @Nullable Property.Operator op)
MatterProperty
with the provided MatterProperty.Matter
state.value
- The matter stateop
- The operator comparisonpublic int compareTo(Property<?,?> o)