Module org.pcap4j.core
Package org.pcap4j.packet
Enum Class Dot11HTCapabilitiesElement.MpduStartSpacing
java.lang.Object
java.lang.Enum<Dot11HTCapabilitiesElement.MpduStartSpacing>
org.pcap4j.packet.Dot11HTCapabilitiesElement.MpduStartSpacing
- All Implemented Interfaces:
Serializable,Comparable<Dot11HTCapabilitiesElement.MpduStartSpacing>,Constable
- Enclosing class:
Dot11HTCapabilitiesElement
public static enum Dot11HTCapabilitiesElement.MpduStartSpacing
extends Enum<Dot11HTCapabilitiesElement.MpduStartSpacing>
Minimum MPDU Start Spacing field of IEEE802.11 HT Capabilities element.
- Since:
- pcap4j 1.7.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription8 us: 64 us: 51/2 us: 2No restriction: 01/4 us: 11 us: 316 us: 72 us: 4 -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetInstance(int value) getName()intgetValue()toString()Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_RESTRICTION
No restriction: 0 -
ONE_FOURTH_US
1/4 us: 1 -
HALF_US
1/2 us: 2 -
ONE_US
1 us: 3 -
TWO_US
2 us: 4 -
FOUR_US
4 us: 5 -
EIGHT_US
8 us: 6 -
SIXTEEN_US
16 us: 7
-
-
Field Details
-
value
private final int value -
name
-
-
Constructor Details
-
MpduStartSpacing
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()- Returns:
- value
-
getName
- Returns:
- name
-
toString
- Overrides:
toStringin classEnum<Dot11HTCapabilitiesElement.MpduStartSpacing>
-
getInstance
- Parameters:
value- value- Returns:
- the MpduStartSpacing object the value of which is the given value.
-