Package | Description |
---|---|
inet.ipaddr.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for 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 individual sections are found in both this and the given argument.
|
IPv4AddressSection |
IPv4AddressSection.mask(IPv4AddressSection mask)
Equivalent to
IPv4AddressSection.mask(IPv4AddressSection, boolean) with the second argument as false. |
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.mergePrefixBlocks(IPv4AddressSection... sections)
Deprecated.
|
IPv4AddressSection[] |
IPv4AddressSection.mergeToPrefixBlocks(IPv4AddressSection... sections)
Merges this with the list of sections to produce the smallest array of prefix blocks.
|
IPv4AddressSection[] |
IPv4AddressSection.mergeToSequentialBlocks(IPv4AddressSection... sections)
Merges this with the list of sections to produce the smallest array of sequential block subnets.
|
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)
Equivalent to
IPv6AddressSection.mask(IPv6AddressSection, boolean) with the second argument as false. |
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.mergePrefixBlocks(IPv6AddressSection... sections)
Deprecated.
|
IPv6AddressSection[] |
IPv6AddressSection.mergeToPrefixBlocks(IPv6AddressSection... sections)
Merges this with the list of sections to produce the smallest array of prefix blocks.
|
IPv6AddressSection[] |
IPv6AddressSection.mergeToSequentialBlocks(IPv6AddressSection... sections)
Merges this with the list of sections to produce the smallest array of sequential block subnets, 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).
|