Package org.pcap4j.packet
Class IpV4InternetTimestampOptionTimestampsWithAddresses.TimestampWithAddress
- java.lang.Object
-
- org.pcap4j.packet.IpV4InternetTimestampOptionTimestampsWithAddresses.TimestampWithAddress
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- IpV4InternetTimestampOptionTimestampsWithAddresses
public static final class IpV4InternetTimestampOptionTimestampsWithAddresses.TimestampWithAddress extends java.lang.Object implements java.io.Serializable
- Since:
- pcap4j 0.9.11
- Author:
- Kaito Yamada
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimestampWithAddress(java.net.Inet4Address address, java.lang.Integer timestamp)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.net.Inet4Address
getAddress()
java.lang.Integer
getTimestamp()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getAddress
public java.net.Inet4Address getAddress()
- Returns:
- address
-
getTimestamp
public java.lang.Integer getTimestamp()
- Returns:
- timestamp
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-