public enum UnderlyingProduct extends Enum<UnderlyingProduct>
Enum Constant and Description |
---|
CommodityAgriculture |
Currency |
Energy |
Equity |
FXCash |
InterestRate |
Metals |
Other |
Unknown |
Modifier and Type | Method and Description |
---|---|
static UnderlyingProduct |
fromString(String type) |
static UnderlyingProduct |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UnderlyingProduct[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UnderlyingProduct CommodityAgriculture
public static final UnderlyingProduct Currency
public static final UnderlyingProduct Equity
public static final UnderlyingProduct Other
public static final UnderlyingProduct InterestRate
public static final UnderlyingProduct FXCash
public static final UnderlyingProduct Energy
public static final UnderlyingProduct Metals
public static final UnderlyingProduct Unknown
public static UnderlyingProduct[] values()
for (UnderlyingProduct c : UnderlyingProduct.values()) System.out.println(c);
public static UnderlyingProduct 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 static UnderlyingProduct fromString(String type)
Copyright © 2000-2017 EPAM Systems. All Rights Reserved.