public static enum Equation.EquationOperation extends java.lang.Enum<Equation.EquationOperation>
Modifier and Type | Method and Description |
---|---|
static Equation.EquationOperation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Equation.EquationOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Equation.EquationOperation ADD
public static final Equation.EquationOperation DIVIDE
public static final Equation.EquationOperation MULTIPLY
public static final Equation.EquationOperation SUBTRACT
public static Equation.EquationOperation 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 nullpublic static Equation.EquationOperation[] values()
for (Equation.EquationOperation c : Equation.EquationOperation.values()) System.out.println(c);