public enum StoneType extends Enum<StoneType>
| Enum Constant and Description |
|---|
ANDESITE |
ANDESITE_SMOOTH |
DIORITE |
DIORITE_SMOOTH |
GRANITE |
GRANITE_SMOOTH |
STONE |
| Modifier and Type | Method and Description |
|---|---|
static StoneType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StoneType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StoneType STONE
public static final StoneType GRANITE
public static final StoneType GRANITE_SMOOTH
public static final StoneType DIORITE
public static final StoneType DIORITE_SMOOTH
public static final StoneType ANDESITE
public static final StoneType ANDESITE_SMOOTH
public static StoneType[] values()
for (StoneType c : StoneType.values()) System.out.println(c);
public static StoneType 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 © 2021. All rights reserved.