public static enum ArithExpr.ArithmeticOp extends java.lang.Enum<ArithExpr.ArithmeticOp>
Enum Constant and Description |
---|
div |
intdiv |
minus |
mod |
none |
plus |
pow |
times |
Modifier and Type | Method and Description |
---|---|
static ArithExpr.ArithmeticOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ArithExpr.ArithmeticOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ArithExpr.ArithmeticOp none
public static final ArithExpr.ArithmeticOp plus
public static final ArithExpr.ArithmeticOp minus
public static final ArithExpr.ArithmeticOp times
public static final ArithExpr.ArithmeticOp div
public static final ArithExpr.ArithmeticOp mod
public static final ArithExpr.ArithmeticOp pow
public static final ArithExpr.ArithmeticOp intdiv
public static ArithExpr.ArithmeticOp[] values()
for (ArithExpr.ArithmeticOp c : ArithExpr.ArithmeticOp.values()) System.out.println(c);
public static ArithExpr.ArithmeticOp valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null