public static enum Pentomino.SolutionCategory extends Enum<Pentomino.SolutionCategory>
| Enum Constant and Description |
|---|
CENTER |
MID_X |
MID_Y |
UPPER_LEFT |
| Modifier and Type | Method and Description |
|---|---|
static Pentomino.SolutionCategory |
valueOf(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(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 © 2008–2020 Apache Software Foundation. All rights reserved.