public static enum Pentomino.SolutionCategory extends java.lang.Enum<Pentomino.SolutionCategory>
| Enum Constant and Description |
|---|
CENTER |
MID_X |
MID_Y |
UPPER_LEFT |
| Modifier and Type | Method and Description |
|---|---|
static Pentomino.SolutionCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pentomino.SolutionCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pentomino.SolutionCategory UPPER_LEFT
public static final Pentomino.SolutionCategory MID_X
public static final Pentomino.SolutionCategory MID_Y
public static final Pentomino.SolutionCategory CENTER
public static Pentomino.SolutionCategory[] values()
for (Pentomino.SolutionCategory c : Pentomino.SolutionCategory.values()) System.out.println(c);
public static Pentomino.SolutionCategory 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 nullCopyright © 2009 The Apache Software Foundation