public enum PrecipitationTypes extends Enum<PrecipitationTypes>
| Enum Constant and Description |
|---|
FreezingRain
Freezing rain
|
MixedIce
Mixed/ice
|
NADefault
N/A (default)
|
Rain
Rain
|
Reserved
Reserved
|
Reserved6
Reserved
|
Snow
Snow
|
Thunderstorm
Thunderstorm
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PrecipitationTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrecipitationTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrecipitationTypes Reserved
public static final PrecipitationTypes Rain
public static final PrecipitationTypes Thunderstorm
public static final PrecipitationTypes FreezingRain
public static final PrecipitationTypes MixedIce
public static final PrecipitationTypes Snow
public static final PrecipitationTypes Reserved6
public static final PrecipitationTypes NADefault
public static PrecipitationTypes[] values()
for (PrecipitationTypes c : PrecipitationTypes.values()) System.out.println(c);
public static PrecipitationTypes 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 nullpublic String toString()
toString in class Enum<PrecipitationTypes>Copyright © 2016. All rights reserved.