- java.lang.Object
-
- org.pcap4j.packet.Dot11ChannelEntry
-
- All Implemented Interfaces:
java.io.Serializable
public final class Dot11ChannelEntry extends java.lang.Object implements java.io.SerializableIEEE802.11 Channel Entry field1 1 +---------------+---------------+ |Operating Class| Channel | +---------------+---------------+- Since:
- pcap4j 1.7.0
- See Also:
- IEEE802.11, Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private bytechannelprivate byteoperatingClassprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description Dot11ChannelEntry(byte operatingClass, byte channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)bytegetChannel()intgetChannelAsInt()bytegetOperatingClass()intgetOperatingClassAsInt()inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
operatingClass
private final byte operatingClass
-
channel
private final byte channel
-
-
Method Detail
-
getOperatingClass
public byte getOperatingClass()
- Returns:
- operatingClass
-
getOperatingClassAsInt
public int getOperatingClassAsInt()
- Returns:
- operatingClass
-
getChannel
public byte getChannel()
- Returns:
- channel
-
getChannelAsInt
public int getChannelAsInt()
- Returns:
- channel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-