public enum TallGrassType extends Enum<TallGrassType>
| Modifier and Type | Method and Description |
|---|---|
static TallGrassType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TallGrassType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TallGrassType DEFAULT
public static final TallGrassType TALL
public static final TallGrassType FERN
public static final TallGrassType SNOW
public static TallGrassType[] values()
for (TallGrassType c : TallGrassType.values()) System.out.println(c);
public static TallGrassType 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.