public enum BeaufortScale extends Enum<BeaufortScale>
| Enum Constant and Description |
|---|
Calm
Calm
|
FreshBreeze
Fresh breeze
|
Gale
Gale
|
GentleBreeze
Gentle breeze
|
HighWind
High wind
|
HurricaneForce
Hurricane force
|
LightAir
Light air
|
LightBreeze
Light breeze
|
ModerateBreeze
Moderate breeze
|
NADefault |
Reserved14 |
Reserved15 |
Storm
Storm
|
StrongBreeze
Strong breeze
|
StrongGale
Strong gale
|
ViolentStorm
Violent storm
|
| Modifier and Type | Method and Description |
|---|---|
String |
getSeaConditions() |
String |
toString() |
static BeaufortScale |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeaufortScale[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeaufortScale Calm
public static final BeaufortScale LightAir
public static final BeaufortScale LightBreeze
public static final BeaufortScale GentleBreeze
public static final BeaufortScale ModerateBreeze
public static final BeaufortScale FreshBreeze
public static final BeaufortScale StrongBreeze
public static final BeaufortScale HighWind
public static final BeaufortScale Gale
public static final BeaufortScale StrongGale
public static final BeaufortScale Storm
public static final BeaufortScale ViolentStorm
public static final BeaufortScale HurricaneForce
public static final BeaufortScale NADefault
public static final BeaufortScale Reserved14
public static final BeaufortScale Reserved15
public static BeaufortScale[] values()
for (BeaufortScale c : BeaufortScale.values()) System.out.println(c);
public static BeaufortScale 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<BeaufortScale>public String getSeaConditions()
Copyright © 2015. All rights reserved.