Enum Constant and Description |
---|
BANANA |
BOOMERANG |
BRAINWHITE |
CIRCLE |
CORPUSCALLOSUM |
CROSS |
FEMUR |
MOUSEORGAN |
NONE |
SEMICIRCLE |
SNOWMAN |
SQUARE |
UPPERLIP |
Modifier and Type | Method and Description |
---|---|
static Shape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Shape NONE
public static final Shape BANANA
public static final Shape CIRCLE
public static final Shape MOUSEORGAN
public static final Shape CROSS
public static final Shape SQUARE
public static final Shape SEMICIRCLE
public static final Shape BOOMERANG
public static final Shape FEMUR
public static final Shape BRAINWHITE
public static final Shape UPPERLIP
public static final Shape CORPUSCALLOSUM
public static final Shape SNOWMAN
public static Shape[] values()
for (Shape c : Shape.values()) System.out.println(c);
public static Shape 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 null