public enum FXTradingType extends Enum<FXTradingType>
Enum Constant and Description |
---|
FWD
The value representing a FORWARD trade
|
NDF
The value representing a NON-DELIVERABLE FORWARD trade
|
SPOT
The value representing a SPOT trade
|
SWAP
The value representing a SWAP trade
|
TIME_OPTION
The value representing a TIME OPTION trade
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static FXTradingType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FXTradingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FXTradingType SPOT
public static final FXTradingType FWD
public static final FXTradingType NDF
public static final FXTradingType TIME_OPTION
public static final FXTradingType SWAP
public static FXTradingType[] values()
for (FXTradingType c : FXTradingType.values()) System.out.println(c);
public static FXTradingType 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 String toString()
toString
in class Enum<FXTradingType>
Copyright © 2015 Caplin Systems.