public static enum IpV4OptionType.IpV4OptionClass extends Enum<IpV4OptionType.IpV4OptionClass>
Enum Constant and Description |
---|
CONTROL |
DEBUGGING_AND_MEASUREMENT |
RESERVED_FOR_FUTURE_USE1 |
RESERVED_FOR_FUTURE_USE3 |
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static IpV4OptionType.IpV4OptionClass |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IpV4OptionType.IpV4OptionClass[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IpV4OptionType.IpV4OptionClass CONTROL
public static final IpV4OptionType.IpV4OptionClass RESERVED_FOR_FUTURE_USE1
public static final IpV4OptionType.IpV4OptionClass DEBUGGING_AND_MEASUREMENT
public static final IpV4OptionType.IpV4OptionClass RESERVED_FOR_FUTURE_USE3
public static IpV4OptionType.IpV4OptionClass[] values()
for (IpV4OptionType.IpV4OptionClass c : IpV4OptionType.IpV4OptionClass.values()) System.out.println(c);
public static IpV4OptionType.IpV4OptionClass 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.