public enum FXSwapType extends Enum<FXSwapType>
Enum Constant and Description |
---|
FWDFWD
Value representing a SWAP with near log FORWARD and far leg FORWARD
|
SPOTFWD
Value representing a SWAP with near leg SPOT and far leg FORWARD
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Returns the pretty name of the enum value.
|
static FXSwapType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FXSwapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FXSwapType SPOTFWD
public static final FXSwapType FWDFWD
public static FXSwapType[] values()
for (FXSwapType c : FXSwapType.values()) System.out.println(c);
public static FXSwapType 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<FXSwapType>
Copyright © 2015 Caplin Systems.