@Beta public enum YangBinaryOperator extends Enum<YangBinaryOperator>
Enum Constant and Description |
---|
DIV
Arithmetic division.
|
EQUALS
Operands are equal.
|
GT
Left-hand operand is greater than right-hand operand.
|
GTE
Left-hand operand is greater than or equal to right-hand operand.
|
LT
Left-hand operand is less than right-hand operand.
|
LTE
Left-hand operand is less than or equal to right-hand operand.
|
MINUS
Arithmetic subtraction.
|
MOD
Arithmetic modulus after truncating division.
|
MUL
Arithmetic multiplication.
|
NOT_EQUALS
Operands do not equal.
|
PLUS
Arithmetic addition.
|
Modifier and Type | Method and Description |
---|---|
YangBinaryExpr |
exprWith(YangExpr leftExpr,
YangExpr rightExpr) |
String |
toString() |
static YangBinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YangBinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YangBinaryOperator EQUALS
public static final YangBinaryOperator NOT_EQUALS
public static final YangBinaryOperator GT
public static final YangBinaryOperator GTE
public static final YangBinaryOperator LT
public static final YangBinaryOperator LTE
public static final YangBinaryOperator PLUS
public static final YangBinaryOperator MINUS
public static final YangBinaryOperator MUL
public static final YangBinaryOperator DIV
public static final YangBinaryOperator MOD
public static YangBinaryOperator[] values()
for (YangBinaryOperator c : YangBinaryOperator.values()) System.out.println(c);
public static YangBinaryOperator valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<YangBinaryOperator>
public YangBinaryExpr exprWith(YangExpr leftExpr, YangExpr rightExpr)
Copyright © 2020 OpenDaylight. All rights reserved.