java.lang.Object
java.lang.Enum<Dot11HTCapabilitiesElement.Grouping>
org.pcap4j.packet.Dot11HTCapabilitiesElement.Grouping
- All Implemented Interfaces:
Serializable,Comparable<Dot11HTCapabilitiesElement.Grouping>,Constable
- Enclosing class:
Dot11HTCapabilitiesElement
public static enum Dot11HTCapabilitiesElement.Grouping
extends Enum<Dot11HTCapabilitiesElement.Grouping>
Minimal Grouping 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 ConstantDescriptionGroups of 1, 2: 1Groups of 1, 2, 4: 3Groups of 1, 4: 2No grouping: 0 -
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.static Dot11HTCapabilitiesElement.Grouping[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NO_GROUPING
No grouping: 0 -
GROUPS_OF_1_2
Groups of 1, 2: 1 -
GROUPS_OF_1_4
Groups of 1, 4: 2 -
GROUPS_OF_1_2_4
Groups of 1, 2, 4: 3
-
-
Field Details
-
value
private final int value -
name
-
-
Constructor Details
-
Grouping
-
-
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.Grouping>
-
getInstance
- Parameters:
value- value- Returns:
- the Grouping object the value of which is the given value.
-