Enum Class Conditional.Comparator
java.lang.Object
java.lang.Enum<Conditional.Comparator>
dev.foxikle.customnpcs.actions.conditions.Conditional.Comparator
- All Implemented Interfaces:
Serializable
,Comparable<Conditional.Comparator>
,Constable
- Enclosing interface:
Conditional
A list of comparators used to compare the values and target values of conditions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the value being equal to the target valueRepresents the value being greater than the target valueRepresents the value being greater than or equal to the target valueRepresents the value being less than the target valueRepresents the value being less than or equal to the target valueRepresents the value being inequal to the target value -
Method Summary
Modifier and TypeMethodDescriptionstatic Conditional.Comparator
Returns the enum constant of this class with the specified name.static Conditional.Comparator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL_TO
Represents the value being equal to the target value -
NOT_EQUAL_TO
Represents the value being inequal to the target value -
LESS_THAN
Represents the value being less than the target value -
GREATER_THAN
Represents the value being greater than the target value -
LESS_THAN_OR_EQUAL_TO
Represents the value being less than or equal to the target value -
GREATER_THAN_OR_EQUAL_TO
Represents the value being greater than or equal to the target value
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-