public static enum WorkoutStep.HrZone extends Enum<WorkoutStep.HrZone>
Enum Constant and Description |
---|
CARDIO |
EASY |
FATBURN |
NONE |
PEAK |
PERFORM |
Modifier and Type | Method and Description |
---|---|
static WorkoutStep.HrZone |
getHrZoneType(int i)
Get the enum based on the enum value passed
|
int |
getValue() |
String |
toString() |
static WorkoutStep.HrZone |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkoutStep.HrZone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkoutStep.HrZone NONE
public static final WorkoutStep.HrZone EASY
public static final WorkoutStep.HrZone FATBURN
public static final WorkoutStep.HrZone CARDIO
public static final WorkoutStep.HrZone PERFORM
public static final WorkoutStep.HrZone PEAK
public static WorkoutStep.HrZone[] values()
for (WorkoutStep.HrZone c : WorkoutStep.HrZone.values()) System.out.println(c);
public static WorkoutStep.HrZone 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 static WorkoutStep.HrZone getHrZoneType(int i)
i
- Enum valuepublic int getValue()
public String toString()
toString
in class Enum<WorkoutStep.HrZone>
Copyright © 2023. All rights reserved.