public enum PacketSortAttribute extends Enum<PacketSortAttribute>
| Enum Constant and Description |
|---|
DST_IP
The target IP of the packet
|
DST_MAC
The target MAC of the packet
|
ID
The ID associated with packet
|
SRC_IP
The sender IP of the packet
|
SRC_MAC
The sender MAC of the packet
|
TYPE
The type of packet ARP, ICMP
|
| Modifier and Type | Method and Description |
|---|---|
static PacketSortAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketSortAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketSortAttribute ID
public static final PacketSortAttribute TYPE
public static final PacketSortAttribute SRC_IP
public static final PacketSortAttribute SRC_MAC
public static final PacketSortAttribute DST_IP
public static final PacketSortAttribute DST_MAC
public static PacketSortAttribute[] values()
for (PacketSortAttribute c : PacketSortAttribute.values()) System.out.println(c);
public static PacketSortAttribute 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 nullCopyright © 2014. All Rights Reserved.