public enum LegSide extends Enum<LegSide>
| Enum Constant and Description |
|---|
BUY
Buy.
|
NO_VALUE
Identifies no value.
|
SELL
Sell.
|
| Modifier and Type | Method and Description |
|---|---|
static LegSide |
forValue(byte value) |
byte |
getValue() |
static LegSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LegSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LegSide NO_VALUE
public static final LegSide BUY
public static final LegSide SELL
public static LegSide[] values()
for (LegSide c : LegSide.values()) System.out.println(c);
public static LegSide 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 byte getValue()
public static LegSide forValue(byte value)
Copyright © 2012–2025 Onix Solutions. All rights reserved.