public enum PrecipitationType extends java.lang.Enum<PrecipitationType>
| Enum Constant and Description |
|---|
HAIL |
NONE |
RAIN |
SLEET |
SNOW |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static PrecipitationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PrecipitationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrecipitationType NONE
public static final PrecipitationType RAIN
public static final PrecipitationType HAIL
public static final PrecipitationType SLEET
public static final PrecipitationType SNOW
public static final PrecipitationType UNKNOWN
public static PrecipitationType[] values()
for (PrecipitationType c : PrecipitationType.values()) System.out.println(c);
public static PrecipitationType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © Breinify - All Rights Reserved.