public enum BlockSwapType extends Enum<BlockSwapType>
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 BlockSwapType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockSwapType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockSwapType SPOTFWD
public static final BlockSwapType FWDFWD
public static BlockSwapType[] values()
for (BlockSwapType c : BlockSwapType.values()) System.out.println(c);
public static BlockSwapType 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<BlockSwapType>
Copyright © 2018 Caplin Systems.