public enum ExerciseStyle extends Enum<ExerciseStyle>
| Enum Constant and Description |
|---|
AMERICAN
American Options
|
EUROPEAN
European Options
|
| Modifier and Type | Method and Description |
|---|---|
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 AMERICAN
public static final ExerciseStyle EUROPEAN
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 nullCopyright © 2025 Webull. All rights reserved.