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