public class RunExerciseName
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INVALID |
static int |
JOG |
static int |
RUN |
static int |
RUN_OR_WALK |
static int |
SPEED_WALK |
static int |
SPRINT |
static int |
WALK |
static int |
WARM_UP |
Constructor and Description |
---|
RunExerciseName() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getStringFromValue(java.lang.Integer value)
Retrieves the String Representation of the Value
|
static java.lang.Integer |
getValueFromString(java.lang.String value)
Returns the enum constant with the specified name.
|
public static final int RUN
public static final int WALK
public static final int JOG
public static final int SPRINT
public static final int RUN_OR_WALK
public static final int SPEED_WALK
public static final int WARM_UP
public static final int INVALID
public static java.lang.String getStringFromValue(java.lang.Integer value)
value
- The enum constantpublic static java.lang.Integer getValueFromString(java.lang.String value)
value
- The enum string value