Enum Class Operator.Type
- All Implemented Interfaces:
Serializable, Comparable<Operator.Type>, Constable
- Enclosing class:
Operator
Operator type.- Since:
- 1.0
- Author:
- Michael J. Simons
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDescribes a binary operator (An operator with to operands).The binary operator modifying labels of nodes.Describes a unary postfix operator (An operator with one operand before the operator).Describes a unary prefix operator (An operator with one operand after the operator).Describes an operator working with properties of entities. -
Method Summary
Modifier and TypeMethodDescriptionstatic Operator.TypeReturns the enum constant of this class with the specified name.static Operator.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BINARY
Describes a binary operator (An operator with to operands). -
PREFIX
Describes a unary prefix operator (An operator with one operand after the operator). -
POSTFIX
Describes a unary postfix operator (An operator with one operand before the operator). -
PROPERTY
Describes an operator working with properties of entities. -
LABEL
The binary operator modifying labels of nodes.
-
-
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
-