public static enum HurricaneEnum.StormType extends java.lang.Enum<HurricaneEnum.StormType>
Enum Constant and Description |
---|
HC
StormType of Hurricane.
|
TC
StormType of Tropical Cyclone
|
TD
StormType of Tropical Depression.
|
TL
StormType of Tropical Low.
|
TS
StormType of Tropical Storm.
|
TY
StormType of Typhoon.
|
Modifier and Type | Method and Description |
---|---|
static HurricaneEnum.StormType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HurricaneEnum.StormType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HurricaneEnum.StormType HC
public static final HurricaneEnum.StormType TS
public static final HurricaneEnum.StormType TD
public static final HurricaneEnum.StormType TY
public static final HurricaneEnum.StormType TC
public static final HurricaneEnum.StormType TL
public static HurricaneEnum.StormType[] values()
for (HurricaneEnum.StormType c : HurricaneEnum.StormType.values()) System.out.println(c);
public static HurricaneEnum.StormType 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 null