public static enum StopOptions.StopUnits extends Enum<StopOptions.StopUnits>
| Enum Constant and Description |
|---|
ABSOLUTE_PRICE |
RELATIVE_BALANCE_PERCENTAGE |
RELATIVE_CURRENCY |
RELATIVE_POINTS |
RELATIVE_PRICE |
| Modifier and Type | Method and Description |
|---|---|
static StopOptions.StopUnits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StopOptions.StopUnits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StopOptions.StopUnits ABSOLUTE_PRICE
public static final StopOptions.StopUnits RELATIVE_PRICE
public static final StopOptions.StopUnits RELATIVE_POINTS
public static final StopOptions.StopUnits RELATIVE_CURRENCY
public static final StopOptions.StopUnits RELATIVE_BALANCE_PERCENTAGE
public static StopOptions.StopUnits[] values()
for (StopOptions.StopUnits c : StopOptions.StopUnits.values()) System.out.println(c);
public static StopOptions.StopUnits 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 © 2023. All rights reserved.