public static enum GtpV1Packet.ProtocolType extends java.lang.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() |
java.lang.String |
toString() |
static GtpV1Packet.ProtocolType |
valueOf(java.lang.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(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static GtpV1Packet.ProtocolType getInstance(boolean value)
value - valuepublic boolean getValue()
public java.lang.String toString()
toString in class java.lang.Enum<GtpV1Packet.ProtocolType>Copyright © 2011 - 2018 Pcap4J.org. All rights reserved.