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