Package org.pcap4j.packet.namednumber
Enum IpV4OptionType.IpV4OptionClass
- java.lang.Object
-
- java.lang.Enum<IpV4OptionType.IpV4OptionClass>
-
- org.pcap4j.packet.namednumber.IpV4OptionType.IpV4OptionClass
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IpV4OptionType.IpV4OptionClass>
,java.lang.constant.Constable
- Enclosing class:
- IpV4OptionType
public static enum IpV4OptionType.IpV4OptionClass extends java.lang.Enum<IpV4OptionType.IpV4OptionClass>
- Since:
- pcap4j 0.9.11
- Author:
- Kaito Yamada
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTROL
DEBUGGING_AND_MEASUREMENT
RESERVED_FOR_FUTURE_USE1
RESERVED_FOR_FUTURE_USE3
-
Method Summary
Modifier and Type Method Description int
getValue()
static IpV4OptionType.IpV4OptionClass
valueOf(java.lang.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.
-
-
-
Enum Constant Detail
-
CONTROL
public static final IpV4OptionType.IpV4OptionClass CONTROL
-
RESERVED_FOR_FUTURE_USE1
public static final IpV4OptionType.IpV4OptionClass RESERVED_FOR_FUTURE_USE1
-
DEBUGGING_AND_MEASUREMENT
public static final IpV4OptionType.IpV4OptionClass DEBUGGING_AND_MEASUREMENT
-
RESERVED_FOR_FUTURE_USE3
public static final IpV4OptionType.IpV4OptionClass RESERVED_FOR_FUTURE_USE3
-
-
Method Detail
-
values
public static IpV4OptionType.IpV4OptionClass[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IpV4OptionType.IpV4OptionClass valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
- Returns:
- value
-
-