public enum MathOp extends java.lang.Enum<MathOp>
Enum Constant and Description |
---|
Add |
Divide |
Modulus |
Multiply |
ReverseDivide |
ReverseSubtract |
ScalarMax |
ScalarMin |
Subtract |
Modifier and Type | Method and Description |
---|---|
static MathOp |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MathOp[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MathOp Add
public static final MathOp Subtract
public static final MathOp Multiply
public static final MathOp Divide
public static final MathOp Modulus
public static final MathOp ReverseSubtract
public static final MathOp ReverseDivide
public static final MathOp ScalarMin
public static final MathOp ScalarMax
public static MathOp[] values()
for (MathOp c : MathOp.values()) System.out.println(c);
public static MathOp 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