Enum BinaryOperatorExpression.Operator
java.lang.Object
java.lang.Enum<BinaryOperatorExpression.Operator>
net.thisptr.jackson.jq.internal.tree.binaryop.BinaryOperatorExpression.Operator
- All Implemented Interfaces:
Serializable
,Comparable<BinaryOperatorExpression.Operator>
,java.lang.constant.Constable
- Enclosing class:
BinaryOperatorExpression
public static enum BinaryOperatorExpression.Operator
extends Enum<BinaryOperatorExpression.Operator>
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Class
<? extends BinaryOperatorExpression> final Constructor
<? extends BinaryOperatorExpression> final String
private static Map
<String, BinaryOperatorExpression.Operator> final int
final boolean
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Operator
(String image, int precedence, BinaryOperatorExpression.Operator.Associativity associativity, Class<? extends BinaryOperatorExpression> clazz) -
Method Summary
Modifier and TypeMethodDescriptionbuildTree
(Expression lhs, Expression rhs, Version version) Returns the enum constant of this type with the specified name.static BinaryOperatorExpression.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
ASSIGN
-
UDPATE
-
DEFAULT_EQUAL
-
PLUS_EQUAL
-
MINUS_EQUAL
-
TIMES_EQUAL
-
DIVIDE_EQUAL
-
MODULO_EQUAL
-
DEFAULT
-
OR
-
AND
-
LESS_EQUAL
-
LESS
-
GREATER_EQUAL
-
GREATER
-
EQUAL
-
NOT_EQUAL
-
PLUS
-
MINUS
-
MODULO
-
DIVIDE
-
TIMES
-
-
Field Details
-
image
-
precedence
public final int precedence -
associativity
-
clazz
-
constructor
-
versionAware
public final boolean versionAware -
lookup
-
-
Constructor Details
-
Operator
private Operator(String image, int precedence, BinaryOperatorExpression.Operator.Associativity associativity, Class<? extends BinaryOperatorExpression> clazz)
-
-
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
-
fromImage
-
buildTree
-