Enum Operands.Location
- All Implemented Interfaces:
Serializable, Comparable<Operands.Location>, java.lang.constant.Constable
- Enclosing class:
Operands
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Operands.LocationReturns the enum constant of this type with the specified name.static Operands.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PREFIX
An operator that is positioned directly before its single argument.e.g.
- Xwhere-is the operator (negation) andXis its argument. -
INFIX
An operator that is positioned between its two arguments.e.g.
X = 3where=is the operator with the argumentsXand3. -
POSTFIX
An operator that is positioned directly after its single argument.
-
-
Constructor Details
-
Location
private Location()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-