public static enum Instrument.OptionType extends java.lang.Enum<Instrument.OptionType>
| Enum Constant and Description |
|---|
CALL_EUROPEAN |
PUT_EUROPEAN |
| Modifier and Type | Method and Description |
|---|---|
static Instrument.OptionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Instrument.OptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Instrument.OptionType CALL_EUROPEAN
public static final Instrument.OptionType PUT_EUROPEAN
public static Instrument.OptionType[] values()
for (Instrument.OptionType c : Instrument.OptionType.values()) System.out.println(c);
public static Instrument.OptionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null