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