public static enum WorkoutStep.ExtentType extends Enum<WorkoutStep.ExtentType>
Enum Constant and Description |
---|
DISTANCE |
MANUAL |
NONE |
REACHHRZONE |
TIME |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
String |
toString() |
static WorkoutStep.ExtentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkoutStep.ExtentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkoutStep.ExtentType NONE
public static final WorkoutStep.ExtentType TIME
public static final WorkoutStep.ExtentType DISTANCE
public static final WorkoutStep.ExtentType REACHHRZONE
public static final WorkoutStep.ExtentType MANUAL
public static WorkoutStep.ExtentType[] values()
for (WorkoutStep.ExtentType c : WorkoutStep.ExtentType.values()) System.out.println(c);
public static WorkoutStep.ExtentType 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 int getValue()
public String toString()
toString
in class Enum<WorkoutStep.ExtentType>
Copyright © 2023. All rights reserved.