Enum Class ShortCircuitOperation.Operator
java.lang.Object
java.lang.Enum<ShortCircuitOperation.Operator>
com.oracle.truffle.api.bytecode.ShortCircuitOperation.Operator
- All Implemented Interfaces:
Serializable, Comparable<ShortCircuitOperation.Operator>, Constable
- Enclosing class:
ShortCircuitOperation
Defines the behaviour of a
ShortCircuitOperation
.- Since:
- 24.2
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAND operator that produces the converted boolean value.AND operator that produces the operand value.OR operator that produces the converted boolean value.OR operator that produces the operand value. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ShortCircuitOperation.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AND_RETURN_VALUE
AND operator that produces the operand value. -
AND_RETURN_CONVERTED
AND operator that produces the converted boolean value. -
OR_RETURN_VALUE
OR operator that produces the operand value. -
OR_RETURN_CONVERTED
OR operator that produces the converted boolean 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
-