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