Package | Description |
---|---|
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask,
boolean retainPrefix)
Does the bitwise disjunction with this address section.
|
IPv4AddressSection |
IPv4AddressSection.bitwiseOrNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address section.
|
IPv4AddressSection |
IPv4AddressSection.intersect(IPv4AddressSection other)
Produces the subnet sections whose addresses are found in both this and the given argument.
|
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask,
boolean retainPrefix)
Does the bitwise conjunction with this address.
|
IPv4AddressSection |
IPv4AddressSection.maskNetwork(IPv4AddressSection mask,
int networkPrefixLength)
Produces the bitwise conjunction of the given mask with the network section of the address as indicated by the given prefix length.
|
IPv4AddressSection[] |
IPv4AddressSection.mergeBlocks(IPv6AddressSection... sections)
Merges this with the list of sections to produce the smallest array of prefix blocks, going from smallest to largest
|
IPv4AddressSection[] |
IPv4AddressSection.subtract(IPv4AddressSection other)
Subtract the given subnet from this subnet, returning an array of sections for the result (the subnets will not be contiguous so an array is required).
|
Modifier and Type | Method and Description |
---|---|
IPv6AddressSection |
IPv6AddressSection.bitwiseOr(IPv6AddressSection mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
IPv6AddressSection |
IPv6AddressSection.bitwiseOrNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
IPv6AddressSection |
IPv6AddressSection.intersect(IPv6AddressSection other)
Produces the subnet sections whose addresses are found in both this and the given argument.
|
IPv6AddressSection |
IPv6AddressSection.mask(IPv6AddressSection mask,
boolean retainPrefix)
Does the bitwise conjuction with this address.
|
IPv6AddressSection |
IPv6AddressSection.maskNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Applies the given mask to the network section of the address as indicated by the given prefix length.
|
IPv6AddressSection[] |
IPv6AddressSection.mergeBlocks(IPv6AddressSection... sections)
Merges this with the list of sections to produce the smallest array of prefix blocks, going from smallest to largest
|
IPv6AddressSection[] |
IPv6AddressSection.subtract(IPv6AddressSection other)
Subtract the give subnet from this subnet, returning an array of sections for the result (the subnets will not be contiguous so an array is required).
|