Serializable, Comparable<CropState>public enum CropState extends Enum<CropState>
| Enum Constant | Description | 
|---|---|
| GERMINATED | First growth stage | 
| MEDIUM | Fourth growth stage | 
| RIPE | Ripe stage | 
| SEEDED | State when first seeded | 
| SMALL | Third growth stage | 
| TALL | Fifth growth stage | 
| VERY_SMALL | Second growth stage | 
| VERY_TALL | Almost ripe stage | 
| Modifier and Type | Method | Description | 
|---|---|---|
| static CropState | getByData(byte data) | Deprecated. 
 Magic value | 
| byte | getData() | Deprecated. 
 Magic value | 
| static CropState | valueOf(String name) | Returns the enum constant of this type with the specified name. | 
| static CropState[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final CropState SEEDED
public static final CropState GERMINATED
public static final CropState VERY_SMALL
public static final CropState SMALL
public static final CropState MEDIUM
public static final CropState TALL
public static final CropState VERY_TALL
public static final CropState RIPE
public static CropState[] values()
for (CropState c : CropState.values()) System.out.println(c);
public static CropState 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 null@Deprecated public byte getData()
@Deprecated @Nullable public static CropState getByData(byte data)
data - Data value to fetchCropState representing the given value, or null if
     it doesn't existCopyright © 2019. All rights reserved.