public enum SwimStroke extends java.lang.Enum<SwimStroke>
Enum Constant and Description |
---|
BACKSTROKE |
BREASTSTROKE |
BUTTERFLY |
DRILL |
FREESTYLE |
IM |
IM_BY_ROUND |
INVALID |
MIXED |
RIMO |
Modifier and Type | Field and Description |
---|---|
protected short |
value |
Modifier and Type | Method and Description |
---|---|
static SwimStroke |
getByValue(java.lang.Short value) |
static java.lang.String |
getStringFromValue(SwimStroke value)
Retrieves the String Representation of the Value
|
short |
getValue() |
static SwimStroke |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SwimStroke[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SwimStroke FREESTYLE
public static final SwimStroke BACKSTROKE
public static final SwimStroke BREASTSTROKE
public static final SwimStroke BUTTERFLY
public static final SwimStroke DRILL
public static final SwimStroke MIXED
public static final SwimStroke IM
public static final SwimStroke IM_BY_ROUND
public static final SwimStroke RIMO
public static final SwimStroke INVALID
public static SwimStroke[] values()
for (SwimStroke c : SwimStroke.values()) System.out.println(c);
public static SwimStroke 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 nullpublic static SwimStroke getByValue(java.lang.Short value)
public static java.lang.String getStringFromValue(SwimStroke value)
value
- The enum constantpublic short getValue()