Enum Class YangBinaryOperator
- All Implemented Interfaces:
Serializable
,Comparable<YangBinaryOperator>
,Constable
YANG XPath binary operator.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionArithmetic division.Operands are equal.Left-hand operand is greater than right-hand operand.Left-hand operand is greater than or equal to right-hand operand.Left-hand operand is less than right-hand operand.Left-hand operand is less than or equal to right-hand operand.Arithmetic subtraction.Arithmetic modulus after truncating division.Arithmetic multiplication.Operands do not equal.Arithmetic addition. -
Method Summary
Modifier and TypeMethodDescriptiontoString()
static YangBinaryOperator
Returns the enum constant of this class with the specified name.static YangBinaryOperator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
Operands are equal.- See Also:
-
NOT_EQUALS
Operands do not equal.- See Also:
-
GT
Left-hand operand is greater than right-hand operand.- See Also:
-
GTE
Left-hand operand is greater than or equal to right-hand operand.- See Also:
-
LT
Left-hand operand is less than right-hand operand.- See Also:
-
LTE
Left-hand operand is less than or equal to right-hand operand.- See Also:
-
PLUS
Arithmetic addition.- See Also:
-
MINUS
Arithmetic subtraction.- See Also:
-
MUL
Arithmetic multiplication.- See Also:
-
DIV
Arithmetic division.- See Also:
-
MOD
Arithmetic modulus after truncating division.- See Also:
-
-
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
-
exprWith
-
toString
- Overrides:
toString
in classEnum<YangBinaryOperator>
-