public enum ExerciseStyle extends Enum<ExerciseStyle>
Enum Constant and Description |
---|
AMERICAN
American.
|
EUROPEAN
European.
|
NO_VALUE
Identifies no value.
|
Modifier and Type | Method and Description |
---|---|
static ExerciseStyle |
forValue(byte value) |
byte |
getValue() |
static ExerciseStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ExerciseStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExerciseStyle NO_VALUE
public static final ExerciseStyle EUROPEAN
public static final ExerciseStyle AMERICAN
public static ExerciseStyle[] values()
for (ExerciseStyle c : ExerciseStyle.values()) System.out.println(c);
public static ExerciseStyle 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 byte getValue()
public static ExerciseStyle forValue(byte value)
Copyright © 2012–2024 Onix Solutions. All rights reserved.