public class RunExerciseName
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
INVALID |
static int |
JOG |
static int |
RUN |
static int |
SPRINT |
static int |
WALK |
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 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