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