Package | Description |
---|---|
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv4AddressSection.adjustPrefixBySegment(boolean nextSegment) |
IPv4AddressSection |
IPv4AddressSection.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
IPv4AddressSection |
IPv4AddressSection.adjustPrefixLength(int adjustment) |
IPv4AddressSection |
IPv4AddressSection.adjustPrefixLength(int adjustment,
boolean zeroed) |
IPv4AddressSection |
IPv4AddressSection.append(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.appendToNetwork(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.applyPrefixLength(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.assignMinPrefixForBlock() |
IPv4AddressSection |
IPv4AddressSection.assignPrefixForSingleBlock() |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask)
Equivalent to
bitwiseOr(IPv4AddressSection, boolean) with the second argument as false. |
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.createMaxHost() |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
int segmentCount,
java.lang.Integer prefix) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(byte[] bytes,
java.lang.Integer prefix) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
java.lang.Integer prefix) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(IPv4AddressSegment[] segments) |
IPv4AddressSection |
IPv4AddressNetwork.IPv4AddressCreator.createSection(IPv4AddressSegment[] segments,
java.lang.Integer networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getHostSection() |
IPv4AddressSection |
IPv4Address.getHostSection() |
IPv4AddressSection |
IPv4AddressSection.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4Address.getHostSection(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.getLower() |
IPv4AddressSection |
IPv4AddressSection.getLowerNonZeroHost() |
IPv4AddressSection |
IPv4AddressSection.getNetworkSection() |
IPv4AddressSection |
IPv4Address.getNetworkSection() |
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.getSection() |
IPv4AddressSection |
IPv4Address.getSection() |
IPv4AddressSection |
IPv4AddressSection.getSection(int index) |
IPv4AddressSection |
IPv4Address.getSection(int index) |
IPv4AddressSection |
IPv4AddressSection.getSection(int index,
int endIndex) |
IPv4AddressSection |
IPv4Address.getSection(int index,
int endIndex) |
IPv4AddressSection[] |
IPv4AddressSection.getSpanningPrefixBlocks(IPv4AddressSection other)
Produces the list of prefix block subnets that span from this series to the given series.
|
IPv4AddressSection |
IPv4AddressSection.getUpper() |
IPv4AddressSection |
IPv4AddressSection.increment(long increment) |
IPv4AddressSection |
IPv4AddressSection.insert(int index,
IPv4AddressSection other) |
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)
Equivalent to
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.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.removePrefixLength() |
IPv4AddressSection |
IPv4AddressSection.removePrefixLength(boolean zeroed) |
IPv4AddressSection |
IPv4AddressSection.replace(int startIndex,
int endIndex,
IPv4AddressSection replacement,
int replacementStartIndex,
int replacementEndIndex)
Replaces segments starting from startIndex and ending before endIndex with the segments starting at replacementStartIndex and
ending before replacementEndIndex from the replacement section
|
IPv4AddressSection |
IPv4AddressSection.replace(int index,
IPv4AddressSection other)
Replace the segments of this section starting at the given index with the given replacement segments
|
IPv4AddressSection |
IPv4AddressSection.reverseBits(boolean perByte) |
IPv4AddressSection |
IPv4AddressSection.reverseBytes() |
IPv4AddressSection |
IPv4AddressSection.reverseBytesPerSegment() |
IPv4AddressSection |
IPv4AddressSection.reverseSegments() |
IPv4AddressSection |
IPv4AddressSection.setPrefixLength(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.setPrefixLength(int networkPrefixLength,
boolean withZeros) |
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).
|
IPv4AddressSection |
IPv4AddressSection.toMaxHost() |
IPv4AddressSection |
IPv4AddressSection.toMaxHost(int prefixLength) |
IPv4AddressSection |
IPv4AddressSection.toPrefixBlock() |
IPv4AddressSection |
IPv4AddressSection.toPrefixBlock(int networkPrefixLength) |
IPv4AddressSection |
IPv4AddressSection.toZeroHost() |
IPv4AddressSection |
IPv4AddressSection.toZeroHost(int prefixLength) |
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<IPv4AddressSection> |
IPv4AddressSection.getIterable() |
java.util.Iterator<IPv4AddressSection> |
IPv4AddressSection.iterator() |
java.util.Iterator<IPv4AddressSection> |
IPv4AddressSection.nonZeroHostIterator() |
java.util.Iterator<IPv4AddressSection> |
IPv4AddressSection.prefixBlockIterator() |
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv4AddressSection.append(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.appendToNetwork(IPv4AddressSection other) |
IPv4AddressSection |
IPv4AddressSection.bitwiseOr(IPv4AddressSection mask)
Equivalent to
bitwiseOr(IPv4AddressSection, boolean) with the second argument as false. |
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.
|
IPv4Address |
IPv4AddressNetwork.IPv4AddressCreator.createAddress(IPv4AddressSection section) |
IPv4AddressSection[] |
IPv4AddressSection.getSpanningPrefixBlocks(IPv4AddressSection other)
Produces the list of prefix block subnets that span from this series to the given series.
|
IPv4AddressSection |
IPv4AddressSection.insert(int index,
IPv4AddressSection other) |
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)
Equivalent to
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.replace(int startIndex,
int endIndex,
IPv4AddressSection replacement,
int replacementStartIndex,
int replacementEndIndex)
Replaces segments starting from startIndex and ending before endIndex with the segments starting at replacementStartIndex and
ending before replacementEndIndex from the replacement section
|
IPv4AddressSection |
IPv4AddressSection.replace(int index,
IPv4AddressSection other)
Replace the segments of this section starting at the given index with the given replacement segments
|
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).
|
Constructor and Description |
---|
IPv4Address(IPv4AddressSection section)
Constructs an IPv4 address or subnet.
|
Modifier and Type | Method and Description |
---|---|
IPv4AddressSection |
IPv6AddressSection.getEmbeddedIPv4AddressSection()
Gets the IPv4 section corresponding to the lowest (least-significant) 4 bytes in the original address,
which will correspond to between 0 and 4 bytes in this address.
|
IPv4AddressSection |
IPv6AddressSection.getEmbeddedIPv4AddressSection(int startIndex,
int endIndex)
Produces an IPv4 address section from any sequence of bytes in this IPv6 address section
|
IPv4AddressSection |
IPv6Address.toMappedIPv4Segments()
::ffff:x:x/96 indicates IPv6 address mapped to IPv4
|