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