public enum ModifierUnitUsage extends java.lang.Enum<ModifierUnitUsage>
Enum Constant and Description |
---|
Divide
Unit = Basic Unit / Modifier Unit
|
Mulitply
Unit = Basic Unit * Modifier Unit
|
None |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
static ModifierUnitUsage |
parseInt(int value) |
static ModifierUnitUsage |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModifierUnitUsage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModifierUnitUsage None
public static final ModifierUnitUsage Divide
public static final ModifierUnitUsage Mulitply
public static ModifierUnitUsage[] values()
for (ModifierUnitUsage c : ModifierUnitUsage.values()) System.out.println(c);
public static ModifierUnitUsage 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 int getCode()
public static ModifierUnitUsage parseInt(int value)