public static enum BudgetRuleRemote.Operator extends java.lang.Enum<BudgetRuleRemote.Operator>
| Enum Constant and Description |
|---|
ADDITION |
SUBSTRACTION |
| Modifier and Type | Method and Description |
|---|---|
BudgetRuleRemote.Operator |
opposite() |
java.lang.String |
toString() |
static BudgetRuleRemote.Operator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BudgetRuleRemote.Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BudgetRuleRemote.Operator ADDITION
public static final BudgetRuleRemote.Operator SUBSTRACTION
public static BudgetRuleRemote.Operator[] values()
for (BudgetRuleRemote.Operator c : BudgetRuleRemote.Operator.values()) System.out.println(c);
public static BudgetRuleRemote.Operator 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 java.lang.String toString()
toString in class java.lang.Enum<BudgetRuleRemote.Operator>public BudgetRuleRemote.Operator opposite()