Package org.pcap4j.packet
Enum Dot11HTCapabilitiesElement.MpduStartSpacing
- java.lang.Object
-
- java.lang.Enum<Dot11HTCapabilitiesElement.MpduStartSpacing>
-
- org.pcap4j.packet.Dot11HTCapabilitiesElement.MpduStartSpacing
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Dot11HTCapabilitiesElement.MpduStartSpacing>
,java.lang.constant.Constable
- Enclosing class:
- Dot11HTCapabilitiesElement
public static enum Dot11HTCapabilitiesElement.MpduStartSpacing extends java.lang.Enum<Dot11HTCapabilitiesElement.MpduStartSpacing>
Minimum MPDU Start Spacing field of IEEE802.11 HT Capabilities element.- Since:
- pcap4j 1.7.0
- Author:
- Kaito Yamada
- See Also:
- IEEE802.11
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EIGHT_US
8 us: 6FOUR_US
4 us: 5HALF_US
1/2 us: 2NO_RESTRICTION
No restriction: 0ONE_FOURTH_US
1/4 us: 1ONE_US
1 us: 3SIXTEEN_US
16 us: 7TWO_US
2 us: 4
-
Method Summary
Modifier and Type Method Description static Dot11HTCapabilitiesElement.MpduStartSpacing
getInstance(int value)
java.lang.String
getName()
int
getValue()
java.lang.String
toString()
static Dot11HTCapabilitiesElement.MpduStartSpacing
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Dot11HTCapabilitiesElement.MpduStartSpacing[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_RESTRICTION
public static final Dot11HTCapabilitiesElement.MpduStartSpacing NO_RESTRICTION
No restriction: 0
-
ONE_FOURTH_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing ONE_FOURTH_US
1/4 us: 1
-
HALF_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing HALF_US
1/2 us: 2
-
ONE_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing ONE_US
1 us: 3
-
TWO_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing TWO_US
2 us: 4
-
FOUR_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing FOUR_US
4 us: 5
-
EIGHT_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing EIGHT_US
8 us: 6
-
SIXTEEN_US
public static final Dot11HTCapabilitiesElement.MpduStartSpacing SIXTEEN_US
16 us: 7
-
-
Method Detail
-
values
public static Dot11HTCapabilitiesElement.MpduStartSpacing[] 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 Dot11HTCapabilitiesElement.MpduStartSpacing 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
-
getName
public java.lang.String getName()
- Returns:
- name
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Dot11HTCapabilitiesElement.MpduStartSpacing>
-
getInstance
public static Dot11HTCapabilitiesElement.MpduStartSpacing getInstance(int value)
- Parameters:
value
- value- Returns:
- the MpduStartSpacing object the value of which is the given value.
-
-