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