public static enum InternalConstants.HdrTypes extends Enum<InternalConstants.HdrTypes> implements InternalConstants.ParseEnum
| Enum Constant and Description |
|---|
BFD |
END_TO_END |
HOP_BY_HOP |
SCMP |
UDP |
| Modifier and Type | Field and Description |
|---|---|
int |
code |
| Modifier and Type | Method and Description |
|---|---|
int |
code() |
static InternalConstants.HdrTypes |
parse(int code) |
static InternalConstants.HdrTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InternalConstants.HdrTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfparsepublic static final InternalConstants.HdrTypes UDP
public static final InternalConstants.HdrTypes HOP_BY_HOP
public static final InternalConstants.HdrTypes END_TO_END
public static final InternalConstants.HdrTypes SCMP
public static final InternalConstants.HdrTypes BFD
public static InternalConstants.HdrTypes[] values()
for (InternalConstants.HdrTypes c : InternalConstants.HdrTypes.values()) System.out.println(c);
public static InternalConstants.HdrTypes 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 InternalConstants.HdrTypes parse(int code)
public int code()
code in interface InternalConstants.ParseEnumCopyright © 2024. All rights reserved.