Uses of Class
inet.ipaddr.IPAddressSection
Packages that use IPAddressSection
Package
Description
Base classes for IP addresses and generic addresses.
Classes for IPv4
Classes for IPv6
-
Uses of IPAddressSection in inet.ipaddr
Classes in inet.ipaddr with type parameters of type IPAddressSectionModifier and TypeClassDescriptionclass
IPAddressNetwork<T extends IPAddress,
R extends IPAddressSection, E extends IPAddressSection, S extends IPAddressSegment, J extends 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 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.static class
IPAddressNetwork.IPAddressCreator<T extends IPAddress,
R extends IPAddressSection, E extends IPAddressSection, S extends IPAddressSegment, J extends InetAddress> static class
IPAddressNetwork.IPAddressCreator<T extends IPAddress,
R extends IPAddressSection, E extends IPAddressSection, S extends IPAddressSegment, J extends InetAddress> Methods in inet.ipaddr that return IPAddressSectionModifier and TypeMethodDescriptionabstract IPAddressSection
IPAddressSection.adjustPrefixBySegment
(boolean nextSegment) 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) Deprecated.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.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.abstract IPAddressSection
IPAddressSection.coverWithPrefixBlock()
IPAddressSection.getHostMask()
IPAddressSegmentSeries.getHostSection()
Returns the host section of the series.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.getNetworkMask()
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.IPAddressSegmentSeries.getNetworkSection
(int networkPrefixLength) Returns the network section of the series.IPAddressSegmentSeries.getNetworkSection
(int networkPrefixLength, boolean withPrefixLength) Returns the network section of the series.IPAddress.getSection()
Returns the address as an address section comprising all segments in the address.IPAddress.getSection
(int index) IPAddress.getSection
(int index, int endIndex) abstract IPAddressSection
IPAddressSection.getSection
(int index) abstract IPAddressSection
IPAddressSection.getSection
(int index, int endIndex) IPAddressSegmentSeries.getSection()
IPAddressSegmentSeries.getSection
(int index) IPAddressSegmentSeries.getSection
(int index, int endIndex) abstract IPAddressSection
IPAddressSection.getUpper()
abstract IPAddressSection
IPAddressSection.increment
(long increment) abstract IPAddressSection
IPAddressSection.incrementBoundary
(long increment) abstract IPAddressSection
IPAddressSection.removePrefixLength()
Deprecated.abstract IPAddressSection
IPAddressSection.removePrefixLength
(boolean zeroed) Deprecated.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.setPrefixLength
(int prefixLength, boolean zeroed, boolean zeroHostIsBlock) Sets the prefix length while allowing the caller to control whether bits moved in or out of the prefix become zero, and whether a zero host for the new prefix bits can be translated into a prefix block.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) abstract IPAddressSection
IPAddressSection.toZeroNetwork()
abstract IPAddressSection
IPAddressSection.withoutPrefixLength()
Methods in inet.ipaddr that return types with arguments of type IPAddressSectionModifier and TypeMethodDescriptionabstract Iterator
<? extends IPAddressSection> IPAddressSection.blockIterator
(int segmentCount) abstract AddressComponentSpliterator
<? extends IPAddressSection> IPAddressSection.blockSpliterator
(int segmentCount) abstract Stream
<? extends IPAddressSection> IPAddressSection.blockStream
(int segmentCount) abstract Iterable
<? extends IPAddressSection> IPAddressSection.getIterable()
abstract Iterator
<? extends IPAddressSection> IPAddressSection.iterator()
abstract Iterator
<? extends IPAddressSection> IPAddressSection.nonZeroHostIterator()
abstract Iterator
<? extends IPAddressSection> IPAddressSection.prefixBlockIterator()
abstract AddressComponentSpliterator
<? extends IPAddressSection> IPAddressSection.prefixBlockSpliterator()
abstract Stream
<? extends IPAddressSection> IPAddressSection.prefixBlockStream()
abstract Iterator
<? extends IPAddressSection> IPAddressSection.prefixIterator()
abstract AddressComponentSpliterator
<? extends IPAddressSection> IPAddressSection.prefixSpliterator()
abstract Stream
<? extends IPAddressSection> IPAddressSection.prefixStream()
Iterator
<? extends IPAddressSection> IPAddressSection.sequentialBlockIterator()
AddressComponentSpliterator
<? extends IPAddressSection> IPAddressSection.sequentialBlockSpliterator()
Stream
<? extends IPAddressSection> IPAddressSection.sequentialBlockStream()
abstract AddressComponentSpliterator
<? extends IPAddressSection> IPAddressSection.spliterator()
abstract Stream
<? extends IPAddressSection> IPAddressSection.stream()
Methods in inet.ipaddr with parameters of type IPAddressSectionModifier and TypeMethodDescriptionboolean
IPAddressSection.containsNonZeroHosts
(IPAddressSection other) Returns whether this address contains the non-zero host addresses in other.boolean
IPAddressSection.matchesWithMask
(IPAddressSection other, IPAddressSection mask) Applies the mask to this address section and then compares values with the given address sectionabstract boolean
IPAddressSection.prefixContains
(IPAddressSection other) Returns whether the prefix of this address contains all values of the same bits in the given address or subnet -
Uses of IPAddressSection in inet.ipaddr.ipv4
Subclasses of IPAddressSection in inet.ipaddr.ipv4Methods in inet.ipaddr.ipv4 with parameters of type IPAddressSectionModifier and TypeMethodDescriptionboolean
IPv4AddressSection.matchesWithMask
(IPAddressSection other, IPAddressSection mask) boolean
IPv4AddressSection.prefixContains
(IPAddressSection other) -
Uses of IPAddressSection in inet.ipaddr.ipv6
Subclasses of IPAddressSection in inet.ipaddr.ipv6Methods in inet.ipaddr.ipv6 with parameters of type IPAddressSectionModifier and TypeMethodDescriptionboolean
IPv6AddressSection.matchesWithMask
(IPAddressSection other, IPAddressSection mask) boolean
IPv6AddressSection.prefixContains
(IPAddressSection o)