public enum Flower extends Enum<Flower> implements Metadata
| Enum Constant and Description |
|---|
ALLIUM |
BLUE_ORCHID |
HOUSTONIA |
ORANGE_TULIP |
OXEYE_DAISY |
PINK_TULIP |
RED_TULIP |
ROSE |
WHITE_TULIP |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Flower |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flower[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flower ROSE
public static final Flower BLUE_ORCHID
public static final Flower ALLIUM
public static final Flower HOUSTONIA
public static final Flower RED_TULIP
public static final Flower ORANGE_TULIP
public static final Flower WHITE_TULIP
public static final Flower PINK_TULIP
public static final Flower OXEYE_DAISY
public static Flower[] values()
for (Flower c : Flower.values()) System.out.println(c);
public static Flower 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 © 2017–2019 NukkitX. All rights reserved.