public static enum GtpV1Packet.ProtocolType extends Enum<GtpV1Packet.ProtocolType>
Enum Constant and Description |
---|
GTP
GTP: true
|
GTP_PRIME
GTP': false
|
Modifier and Type | Method and Description |
---|---|
static GtpV1Packet.ProtocolType |
getInstance(boolean value) |
boolean |
getValue() |
String |
toString() |
static GtpV1Packet.ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtpV1Packet.ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtpV1Packet.ProtocolType GTP_PRIME
public static final GtpV1Packet.ProtocolType GTP
public static GtpV1Packet.ProtocolType[] values()
for (GtpV1Packet.ProtocolType c : GtpV1Packet.ProtocolType.values()) System.out.println(c);
public static GtpV1Packet.ProtocolType 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 static GtpV1Packet.ProtocolType getInstance(boolean value)
value
- valuepublic boolean getValue()
public String toString()
toString
in class Enum<GtpV1Packet.ProtocolType>
Copyright © 2011–2019 Pcap4J.org. All rights reserved.