public enum GtpVersion extends Enum<GtpVersion>
Enum Constant and Description |
---|
V0
v0
|
V1
v1
|
V2
v2
|
V3
v3
|
V4
v4
|
V5
v5
|
V6
v6
|
V7
v7
|
Modifier and Type | Method and Description |
---|---|
static GtpVersion |
getInstance(int value) |
int |
getValue() |
static GtpVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GtpVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GtpVersion V0
public static final GtpVersion V1
public static final GtpVersion V2
public static final GtpVersion V3
public static final GtpVersion V4
public static final GtpVersion V5
public static final GtpVersion V6
public static final GtpVersion V7
public static GtpVersion[] values()
for (GtpVersion c : GtpVersion.values()) System.out.println(c);
public static GtpVersion 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 GtpVersion getInstance(int value)
value
- valuepublic int getValue()
Copyright © 2011–2018 Pcap4J.org. All rights reserved.