public static enum Problem11.Dir extends Enum<Problem11.Dir>
| Modifier and Type | Method and Description |
|---|---|
static Problem11.Dir |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Problem11.Dir[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Problem11.Dir DOWN
public static final Problem11.Dir RIGHT
public static final Problem11.Dir POS_SLOPE
public static final Problem11.Dir NEG_SLOPE
public static Problem11.Dir[] values()
for (Problem11.Dir c : Problem11.Dir.values()) System.out.println(c);
public static Problem11.Dir 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 nullCopyright © 2014 Cote Lab. All rights reserved.