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