Package org.pcap4j.packet
Enum RadiotapDataMcs.Bandwidth
- java.lang.Object
-
- java.lang.Enum<RadiotapDataMcs.Bandwidth>
-
- org.pcap4j.packet.RadiotapDataMcs.Bandwidth
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RadiotapDataMcs.Bandwidth>
,java.lang.constant.Constable
- Enclosing class:
- RadiotapDataMcs
public static enum RadiotapDataMcs.Bandwidth extends java.lang.Enum<RadiotapDataMcs.Bandwidth>
- Since:
- pcap4j 1.6.5
- Author:
- Kaito Yamada
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getName()
int
getValue()
java.lang.String
toString()
static RadiotapDataMcs.Bandwidth
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RadiotapDataMcs.Bandwidth[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BW_20
public static final RadiotapDataMcs.Bandwidth BW_20
20
-
BW_40
public static final RadiotapDataMcs.Bandwidth BW_40
40
-
BW_20L
public static final RadiotapDataMcs.Bandwidth BW_20L
20L
-
BW_20U
public static final RadiotapDataMcs.Bandwidth BW_20U
20U
-
-
Method Detail
-
values
public static RadiotapDataMcs.Bandwidth[] 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 RadiotapDataMcs.Bandwidth 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<RadiotapDataMcs.Bandwidth>
-
-