public static enum Morph.Shape extends Enum<Morph.Shape>
Modifier and Type | Method and Description |
---|---|
static Morph.Shape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Morph.Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Morph.Shape BALL
public static final Morph.Shape CUBE
public static final Morph.Shape BAR
public static Morph.Shape[] values()
for (Morph.Shape c : Morph.Shape.values()) System.out.println(c);
public static Morph.Shape 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 © 2015–2021 Fiji. All rights reserved.