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