public enum InstrumentType extends java.lang.Enum<InstrumentType>
| Enum Constant and Description |
|---|
_INVALID |
FORWARD
Regular forward.
|
FUTURE
Future.
|
NDF
Non deliverable forward.
|
SPOT
Spot.
|
SWAP
Swap.
|
| Modifier and Type | Field and Description |
|---|---|
byte |
val |
| Modifier and Type | Method and Description |
|---|---|
byte |
get() |
static InstrumentType |
get(byte value) |
static java.util.Collection<InstrumentType> |
validValues() |
static InstrumentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InstrumentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstrumentType SPOT
public static final InstrumentType FUTURE
public static final InstrumentType FORWARD
public static final InstrumentType NDF
public static final InstrumentType SWAP
public static final InstrumentType _INVALID
public static InstrumentType[] values()
for (InstrumentType c : InstrumentType.values()) System.out.println(c);
public static InstrumentType 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 nullpublic byte get()
public static InstrumentType get(byte value)
public static java.util.Collection<InstrumentType> validValues()