public enum TransferFuturesDirection extends Enum<TransferFuturesDirection>
| Enum Constant and Description |
|---|
FUTURES_TO_PRO
FUTURES_TO_PRO,PRO_TO_FUTURES
|
PRO_TO_FUTURES |
| Modifier and Type | Method and Description |
|---|---|
static TransferFuturesDirection |
find(String direction) |
String |
getDirection() |
static TransferFuturesDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransferFuturesDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransferFuturesDirection FUTURES_TO_PRO
public static final TransferFuturesDirection PRO_TO_FUTURES
public static TransferFuturesDirection[] values()
for (TransferFuturesDirection c : TransferFuturesDirection.values()) System.out.println(c);
public static TransferFuturesDirection 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 getDirection()
public static TransferFuturesDirection find(String direction)
Copyright © 2021. All rights reserved.