public enum MarginMode extends java.lang.Enum<MarginMode>
Enum Constant and Description |
---|
CFD
CFD.
|
CfdIndex
CFD Index.
|
CfdLeverage
CFD Leverage.
|
Forex
Forex.
|
Futures
Futures.
|
Modifier and Type | Field and Description |
---|---|
static int |
SIZE |
Modifier and Type | Method and Description |
---|---|
static MarginMode |
forValue(int value) |
int |
getValue() |
static MarginMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarginMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarginMode Forex
public static final MarginMode CFD
public static final MarginMode Futures
public static final MarginMode CfdIndex
public static final MarginMode CfdLeverage
public static final int SIZE
public static MarginMode[] values()
for (MarginMode c : MarginMode.values()) System.out.println(c);
public static MarginMode 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 int getValue()
public static MarginMode forValue(int value)