Class 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()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TimestampWithAddress

        public TimestampWithAddress​(java.net.Inet4Address address,
                                    java.lang.Integer timestamp)
        Parameters:
        address - address
        timestamp - timestamp
    • 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 class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object