Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.format | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
abstract IPAddressSection |
IPAddressSection.applyPrefixLength(int networkPrefixLength) |
boolean |
IPAddressSegment.isBitwiseOrCompatibleWithRange(int maskValue,
java.lang.Integer segmentPrefixLength)
Similar to masking, checks that the range resulting from the bitwise or is contiguous.
|
boolean |
IPAddressSegment.isMaskCompatibleWithRange(int maskValue,
java.lang.Integer segmentPrefixLength)
Check that the range resulting from the mask is contiguous, otherwise we cannot represent it.
|
IPAddressSegmentSeries |
IPAddressSegmentSeries.toPrefixBlock(int networkPrefixLength)
Returns the segment series of the same length that spans all hosts.
|
abstract IPAddress |
IPAddress.toPrefixBlock(int networkPrefixLength) |
static void |
IPAddressString.validateNetworkPrefix(IPAddress.IPVersion ipVersion,
int networkPrefixLength,
boolean allowPrefixesBeyondAddressSize) |
static int |
IPAddressString.validateNetworkPrefixLength(IPAddress.IPVersion ipVersion,
java.lang.CharSequence networkPrefixLength)
Validates that the string has the format "/x" for a valid prefix length x.
|
Modifier and Type | Method and Description |
---|---|
boolean |
AddressDivisionSeries.containsPrefixBlock(int prefixLength)
Returns whether the values of this series contains the prefix block for the given prefix length.
|
boolean |
AddressDivisionSeries.containsSinglePrefixBlock(int prefixLength)
Returns whether the values of this series contains a single prefix block for the given prefix length.
|
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4Address.applyPrefixLength(int networkPrefixLength) |
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv4AddressSection |
IPv4Address.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask,
boolean retainPrefix)
Does the bitwise conjunction with this address.
|
IPv4Address |
IPv4Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
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.toPrefixBlock(int networkPrefixLength) |
IPv4Address |
IPv4Address.toPrefixBlock(int networkPrefixLength) |
Modifier and Type | Method and Description |
---|---|
IPv6AddressSection |
IPv6AddressSection.applyPrefixLength(int networkPrefixLength) |
IPv6Address |
IPv6Address.applyPrefixLength(int networkPrefixLength) |
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.bitwiseOrNetwork(IPv6AddressSection mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
IPv6AddressSection |
IPv6AddressSection.getHostSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6Address.getHostSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.getNetworkSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6Address.getNetworkSection(int networkPrefixLength) |
IPv6AddressSection |
IPv6AddressSection.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv6AddressSection |
IPv6Address.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength) |
IPv6Address |
IPv6Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
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.setPrefixLength(int networkPrefixLength) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength) |
IPv6AddressSection |
IPv6AddressSection.setPrefixLength(int networkPrefixLength,
boolean withZeros) |
IPv6Address |
IPv6Address.setPrefixLength(int prefixLength,
boolean zeroed) |
IPv6AddressSection |
IPv6AddressSection.toPrefixBlock(int networkPrefixLength) |
IPv6Address |
IPv6Address.toPrefixBlock(int networkPrefixLength) |
Constructor and Description |
---|
IPv6AddressSection(long highBytes,
long lowBytes,
int segmentCount,
java.lang.Integer networkPrefixLength) |