- valueOf
- prefixLength
Returns the IP address prefix length.
- address
Returns the IP address value of the prefix.
- getIp4Prefix
Gets the Ip4Prefix view of the IP prefix.
- isIp4
Tests whether the IP version of this prefix is IPv4.
- contains
Determines whether a given IP prefix is contained within this prefix.
- equals
- getIp6Prefix
Gets the Ip6Prefix view of the IP prefix.
- isIp6
Tests whether the IP version of this prefix is IPv6.
- version
Returns the IP version of the prefix.
- <init>
Constructor for given IP address, and a prefix length.
- checkPrefixLength
Checks whether the prefix length is valid.