public static enum PcapHandle.SwappedType extends Enum<PcapHandle.SwappedType>
Enum Constant and Description |
---|
MAYBE_SWAPPED |
NOT_SWAPPED |
SWAPPED |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static PcapHandle.SwappedType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PcapHandle.SwappedType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PcapHandle.SwappedType NOT_SWAPPED
public static final PcapHandle.SwappedType SWAPPED
public static final PcapHandle.SwappedType MAYBE_SWAPPED
public static PcapHandle.SwappedType[] values()
for (PcapHandle.SwappedType c : PcapHandle.SwappedType.values()) System.out.println(c);
public static PcapHandle.SwappedType 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 int getValue()
Copyright © 2011–2016 Pcap4J.org. All rights reserved.