public static enum Expression.BinaryOp extends Enum<Expression.BinaryOp>
Enum Constant and Description |
---|
DIV |
INTDIV |
INVALID |
MATMULT |
MINUS |
MODULUS |
MULT |
PLUS |
POW |
Modifier and Type | Method and Description |
---|---|
static Expression.BinaryOp |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Expression.BinaryOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Expression.BinaryOp PLUS
public static final Expression.BinaryOp MINUS
public static final Expression.BinaryOp MULT
public static final Expression.BinaryOp DIV
public static final Expression.BinaryOp MODULUS
public static final Expression.BinaryOp INTDIV
public static final Expression.BinaryOp MATMULT
public static final Expression.BinaryOp POW
public static final Expression.BinaryOp INVALID
public static Expression.BinaryOp[] values()
for (Expression.BinaryOp c : Expression.BinaryOp.values()) System.out.println(c);
public static Expression.BinaryOp 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 © 2020 The Apache Software Foundation. All rights reserved.