goog.net.Ipv4Address
Classgoog.net.Ipv4Address
> goog.net.IpAddress
goog.net.Ipv4Address(address)
Takes a string or a number and returns a IPv4 Address. This constructor accepts strings and instance of goog.math.Integer. If you pass a goog.math.Integer, make sure that its sign is set to positive.
address
{(string
|!goog.math.Integer
)}
.MAX_NETMASK_LENGTH
{number
}The Maximum length for a netmask (aka, the number of bits for IPv4).
.equals(other)
Inherited from goog.net.IpAddress
.
other
{!goog.net.IpAddress
}
boolean
}
.getVersion()
Inherited from goog.net.IpAddress
.
number
}
.toInteger()
Inherited from goog.net.IpAddress
.
goog.math.Integer
}
.toString()
string
}
.toUriString()
string
}