public static enum TubeDemo.ElementType extends java.lang.Enum<TubeDemo.ElementType>
| Enum Constant and Description |
|---|
Hex |
Quadtet |
Tet |
TetAndHex |
TetAndQuadtet |
| Modifier and Type | Method and Description |
|---|---|
static TubeDemo.ElementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TubeDemo.ElementType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TubeDemo.ElementType Tet
public static final TubeDemo.ElementType Hex
public static final TubeDemo.ElementType Quadtet
public static final TubeDemo.ElementType TetAndQuadtet
public static final TubeDemo.ElementType TetAndHex
public static TubeDemo.ElementType[] values()
for (TubeDemo.ElementType c : TubeDemo.ElementType.values()) System.out.println(c);
public static TubeDemo.ElementType 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