public enum BinaryOperator extends Enum<BinaryOperator>
Enum Constant and Description |
---|
ADD |
BITWISE_AND |
BITWISE_OR |
BITWISE_XOR |
DIV |
EQUAL |
FLOOR_DIV |
GREATER |
GREATER_EQUAL |
LESS |
LESS_EQUAL |
LOGICAL_AND |
LOGICAL_OR |
MOD |
MUL |
NOT_EQUAL |
NULL_EQUAL |
NULL_LOGICAL_AND |
NULL_LOGICAL_OR |
POW |
PYMOD |
SUB |
TRUE_DIV |
Modifier and Type | Method and Description |
---|---|
static BinaryOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BinaryOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BinaryOperator ADD
public static final BinaryOperator SUB
public static final BinaryOperator MUL
public static final BinaryOperator DIV
public static final BinaryOperator TRUE_DIV
public static final BinaryOperator FLOOR_DIV
public static final BinaryOperator MOD
public static final BinaryOperator PYMOD
public static final BinaryOperator POW
public static final BinaryOperator EQUAL
public static final BinaryOperator NULL_EQUAL
public static final BinaryOperator NOT_EQUAL
public static final BinaryOperator LESS
public static final BinaryOperator GREATER
public static final BinaryOperator LESS_EQUAL
public static final BinaryOperator GREATER_EQUAL
public static final BinaryOperator BITWISE_AND
public static final BinaryOperator BITWISE_OR
public static final BinaryOperator BITWISE_XOR
public static final BinaryOperator LOGICAL_AND
public static final BinaryOperator NULL_LOGICAL_AND
public static final BinaryOperator LOGICAL_OR
public static final BinaryOperator NULL_LOGICAL_OR
public static BinaryOperator[] values()
for (BinaryOperator c : BinaryOperator.values()) System.out.println(c);
public static BinaryOperator 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 nullCopyright © 2024. All rights reserved.