public static enum PiPacketOperation.Type extends Enum<PiPacketOperation.Type>
| Enum Constant and Description |
|---|
PACKET_IN
Represents a packet in.
|
PACKET_OUT
Represents a packet out.
|
| Modifier and Type | Method and Description |
|---|---|
static PiPacketOperation.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PiPacketOperation.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PiPacketOperation.Type PACKET_OUT
public static final PiPacketOperation.Type PACKET_IN
public static PiPacketOperation.Type[] values()
for (PiPacketOperation.Type c : PiPacketOperation.Type.values()) System.out.println(c);
public static PiPacketOperation.Type 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 null