Enum ExpressionFactory.BinaryOperatorKind
- java.lang.Object
-
- java.lang.Enum<ExpressionFactory.BinaryOperatorKind>
-
- org.glassfish.pfl.dynamic.codegen.impl.ExpressionFactory.BinaryOperatorKind
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ExpressionFactory.BinaryOperatorKind>
- Enclosing class:
- ExpressionFactory
public static enum ExpressionFactory.BinaryOperatorKind extends java.lang.Enum<ExpressionFactory.BinaryOperatorKind>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
NUMERIC
RELATIONAL
-
Constructor Summary
Constructors Modifier Constructor Description private
BinaryOperatorKind()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ExpressionFactory.BinaryOperatorKind
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ExpressionFactory.BinaryOperatorKind[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELATIONAL
public static final ExpressionFactory.BinaryOperatorKind RELATIONAL
-
NUMERIC
public static final ExpressionFactory.BinaryOperatorKind NUMERIC
-
BOOLEAN
public static final ExpressionFactory.BinaryOperatorKind BOOLEAN
-
-
Method Detail
-
values
public static ExpressionFactory.BinaryOperatorKind[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ExpressionFactory.BinaryOperatorKind c : ExpressionFactory.BinaryOperatorKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExpressionFactory.BinaryOperatorKind valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-