Class IpV4InternetTimestampOptionTimestampsWithAddresses.TimestampWithAddress

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.net.Inet4Address address  
      private static long serialVersionUID  
      private java.lang.Integer timestamp  
    • Constructor Summary

      Constructors 
      Constructor Description
      TimestampWithAddress​(java.net.Inet4Address address, java.lang.Integer timestamp)  
    • Field Detail

      • address

        private final java.net.Inet4Address address
      • timestamp

        private final java.lang.Integer timestamp
    • 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