public static enum MyFuturesTrade.RoleEnum extends Enum<MyFuturesTrade.RoleEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
MyFuturesTrade.RoleEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static MyFuturesTrade.RoleEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static MyFuturesTrade.RoleEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MyFuturesTrade.RoleEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MyFuturesTrade.RoleEnum TAKER
public static final MyFuturesTrade.RoleEnum MAKER
public static MyFuturesTrade.RoleEnum[] values()
for (MyFuturesTrade.RoleEnum c : MyFuturesTrade.RoleEnum.values()) System.out.println(c);
public static MyFuturesTrade.RoleEnum 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 getValue()
public String toString()
toString in class Enum<MyFuturesTrade.RoleEnum>public static MyFuturesTrade.RoleEnum fromValue(String value)
Copyright © 2021. All rights reserved.