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