public static enum Arithmetics.Op extends Enum<Arithmetics.Op>
| Modifier and Type | Method and Description |
|---|---|
static Arithmetics.Op |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Arithmetics.Op[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Arithmetics.Op ADD
public static final Arithmetics.Op SUB
public static final Arithmetics.Op MULT
public static final Arithmetics.Op DIV
public static Arithmetics.Op[] values()
for (Arithmetics.Op c : Arithmetics.Op.values()) System.out.println(c);
public static Arithmetics.Op 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 null