public static enum Persistence.Geometries extends Enum<Persistence.Geometries>
Enum Constant and Description |
---|
ColoredCube |
Icosahedron |
Tetrahedron |
Torus |
Modifier and Type | Method and Description |
---|---|
static Persistence.Geometries |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Persistence.Geometries[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Persistence.Geometries Icosahedron
public static final Persistence.Geometries ColoredCube
public static final Persistence.Geometries Tetrahedron
public static final Persistence.Geometries Torus
public final Geometry geometry
public static Persistence.Geometries[] values()
for (Persistence.Geometries c : Persistence.Geometries.values()) System.out.println(c);
public static Persistence.Geometries 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 null