Class Address


  • public class Address
    extends Object
    IP address
    • Method Detail

      • getAddr

        public String getAddr()
        Returns:
        the ip address
      • getVersion

        public int getVersion()
        Returns:
        the IP version, ex. 4
      • getMacAddr

        public com.google.common.base.Optional<String> getMacAddr()
      • getType

        public com.google.common.base.Optional<String> getType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • string

        protected com.google.common.base.MoreObjects.ToStringHelper string()