Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 |
Modifier and Type | Class and Description |
---|---|
class |
IPAddressNetwork<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress>
Represents a network of addresses of a single IP version providing a collection of standard addresses components for that version, such as masks and loopbacks.
|
class |
IPAddressNetwork<T extends IPAddress,R extends IPAddressSection,E extends IPAddressSection,S extends IPAddressSegment,J extends java.net.InetAddress>
Represents a network of addresses of a single IP version providing a collection of standard addresses components for that version, such as masks and loopbacks.
|
Modifier and Type | Method and Description |
---|---|
abstract IPAddressSection |
IPAddressSection.adjustPrefixBySegment(boolean nextSegment) |
IPAddressSection |
IPAddressSection.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
abstract IPAddressSection |
IPAddressSection.adjustPrefixLength(int adjustment) |
abstract IPAddressSection |
IPAddressSection.adjustPrefixLength(int adjustment,
boolean zeroed) |
abstract IPAddressSection |
IPAddressSection.applyPrefixLength(int networkPrefixLength) |
IPAddressSection |
IPAddressSection.assignMinPrefixForBlock()
Constructs an equivalent address section with the smallest CIDR prefix possible (largest network),
such that the range of values are a set of subnet blocks for that prefix.
|
IPAddressSection |
IPAddressSection.assignPrefixForSingleBlock()
Returns the equivalent CIDR address section with a prefix length for which the subnet block for that prefix matches the range of values in this section.
|
IPAddressSection |
IPAddressSegmentSeries.getHostSection()
Returns the host section of the series.
|
IPAddressSection |
IPAddressSegmentSeries.getHostSection(int networkPrefixLength)
Returns the host section of the address as indicated by the network prefix length provided.
|
abstract IPAddressSection |
IPAddressSection.getLower() |
abstract IPAddressSection |
IPAddressSection.getLowerNonZeroHost() |
IPAddressSection |
IPAddressSegmentSeries.getNetworkSection()
Returns the network section of the series if the series has a CIDR network prefix length,
otherwise it returns the entire series as a prefixed series with prefix matching the address bit length.
|
IPAddressSection |
IPAddressSegmentSeries.getNetworkSection(int networkPrefixLength)
Returns the network section of the series.
|
IPAddressSection |
IPAddressSegmentSeries.getNetworkSection(int networkPrefixLength,
boolean withPrefixLength)
Returns the network section of the series.
|
IPAddressSection |
IPAddressSegmentSeries.getSection() |
IPAddressSection |
IPAddress.getSection()
Returns the address as an address section comprising all segments in the address.
|
IPAddressSection |
IPAddressSegmentSeries.getSection(int index) |
abstract IPAddressSection |
IPAddressSection.getSection(int index) |
IPAddressSection |
IPAddress.getSection(int index) |
IPAddressSection |
IPAddressSegmentSeries.getSection(int index,
int endIndex) |
abstract IPAddressSection |
IPAddressSection.getSection(int index,
int endIndex) |
IPAddressSection |
IPAddress.getSection(int index,
int endIndex) |
abstract IPAddressSection |
IPAddressSection.getUpper() |
abstract IPAddressSection |
IPAddressSection.increment(long increment) |
abstract IPAddressSection |
IPAddressSection.removePrefixLength() |
abstract IPAddressSection |
IPAddressSection.removePrefixLength(boolean zeroed) |
abstract IPAddressSection |
IPAddressSection.reverseBits(boolean perByte) |
abstract IPAddressSection |
IPAddressSection.reverseBytes() |
abstract IPAddressSection |
IPAddressSection.reverseBytesPerSegment() |
abstract IPAddressSection |
IPAddressSection.reverseSegments() |
abstract IPAddressSection |
IPAddressSection.setPrefixLength(int prefixLength) |
abstract IPAddressSection |
IPAddressSection.setPrefixLength(int prefixLength,
boolean zeroed) |
abstract IPAddressSection |
IPAddressSection.toMaxHost() |
abstract IPAddressSection |
IPAddressSection.toMaxHost(int prefixLength) |
abstract IPAddressSection |
IPAddressSection.toPrefixBlock() |
abstract IPAddressSection |
IPAddressSection.toPrefixBlock(int networkPrefixLength) |
abstract IPAddressSection |
IPAddressSection.toZeroHost() |
abstract IPAddressSection |
IPAddressSection.toZeroHost(int prefixLength) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.Iterable<? extends IPAddressSection> |
IPAddressSection.getIterable() |
abstract java.util.Iterator<? extends IPAddressSection> |
IPAddressSection.iterator() |
abstract java.util.Iterator<? extends IPAddressSection> |
IPAddressSection.nonZeroHostIterator() |
abstract java.util.Iterator<? extends IPAddressSection> |
IPAddressSection.prefixBlockIterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
IPAddressSection.matchesWithMask(IPAddressSection other,
IPAddressSection mask)
Applies the mask to this address section and then compares values with the given address section
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4AddressSection |
Modifier and Type | Method and Description |
---|---|
boolean |
IPv4AddressSection.matchesWithMask(IPAddressSection other,
IPAddressSection mask) |
Modifier and Type | Class and Description |
---|---|
class |
IPv6AddressSection |
Modifier and Type | Method and Description |
---|---|
boolean |
IPv6AddressSection.matchesWithMask(IPAddressSection other,
IPAddressSection mask) |