- All Implemented Interfaces:
Serializable,Comparable<Operator>,Constable
Enumerating all the available operator types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionx ≤ α ≤ yx < α < yα = xα > xα ≥ xα ∈ {x,y,z...}α < xα ≤ xα < x ∨ α > yα ≤ x ∨ α ≥ yα ≠ xα ∉ {x,y,z...} -
Method Summary
Modifier and TypeMethodDescriptionNote that the description is resolved from a resource bundle when this enum is loaded, so aLocalechange afterwards has no effect.static OperatorReturns the enum constant of this class with the specified name.static Operator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUAL
α = x -
NOT_EQUAL
α ≠ x -
LESS_THAN
α < x -
LESS_THAN_OR_EQUAL
α ≤ x -
GREATER_THAN
α > x -
GREATER_THAN_OR_EQUAL
α ≥ x -
IN
α ∈ {x,y,z...} -
NOT_IN
α ∉ {x,y,z...} -
BETWEEN_EXCLUSIVE
x < α < y -
BETWEEN
x ≤ α ≤ y -
NOT_BETWEEN_EXCLUSIVE
α ≤ x ∨ α ≥ y -
NOT_BETWEEN
α < x ∨ α > y
-
-
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
-
description
Note that the description is resolved from a resource bundle when this enum is loaded, so aLocalechange afterwards has no effect.- Returns:
- the operator description
-