public class ToolTypeProperty extends AbstractProperty<String,ToolType>
Property.Operator
operator, value
Constructor and Description |
---|
ToolTypeProperty(ToolType value)
Creates a new
ToolTypeProperty with the provided
ToolType value. |
ToolTypeProperty(ToolType value,
Property.Operator op)
Creates a new
ToolTypeProperty with the provided
ToolType value and
Property.Operator
for comparisons. |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Property<?,?> o) |
equals, getDefaultKey, getDefaultOperator, getKey, getOperator, getValue, hashCode, hashCodeOf, matches, toString
public ToolTypeProperty(@Nullable ToolType value)
ToolTypeProperty
with the provided
ToolType
value.value
- The valuepublic ToolTypeProperty(@Nullable ToolType value, @Nullable Property.Operator op)
ToolTypeProperty
with the provided
ToolType
value and
Property.Operator
for comparisons.value
- The valueop
- The operator for comparisonspublic int compareTo(Property<?,?> o)