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 TypeClassDescriptionclassIPAddressNetwork<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.classIPAddressNetwork<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 classIPAddressNetwork.IPAddressCreator<T extends IPAddress, R extends IPAddressSection, E extends IPAddressSection, S extends IPAddressSegment, J extends InetAddress>static classIPAddressNetwork.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 IPAddressSectionIPAddressSection.adjustPrefixBySegment(boolean nextSegment) IPAddressSection.adjustPrefixBySegment(boolean nextSegment, boolean zeroed) abstract IPAddressSectionIPAddressSection.adjustPrefixLength(int adjustment) abstract IPAddressSectionIPAddressSection.adjustPrefixLength(int adjustment, boolean zeroed) abstract IPAddressSectionIPAddressSection.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 IPAddressSectionIPAddressSection.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 IPAddressSectionIPAddressSection.getLower()abstract IPAddressSectionIPAddressSection.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 IPAddressSectionIPAddressSection.getSection(int index) abstract IPAddressSectionIPAddressSection.getSection(int index, int endIndex) IPAddressSegmentSeries.getSection()IPAddressSegmentSeries.getSection(int index) IPAddressSegmentSeries.getSection(int index, int endIndex) abstract IPAddressSectionIPAddressSection.getUpper()abstract IPAddressSectionIPAddressSection.increment(long increment) abstract IPAddressSectionIPAddressSection.incrementBoundary(long increment) abstract IPAddressSectionIPAddressSection.removePrefixLength()Deprecated.abstract IPAddressSectionIPAddressSection.removePrefixLength(boolean zeroed) Deprecated.abstract IPAddressSectionIPAddressSection.reverseBits(boolean perByte) abstract IPAddressSectionIPAddressSection.reverseBytes()abstract IPAddressSectionIPAddressSection.reverseBytesPerSegment()abstract IPAddressSectionIPAddressSection.reverseSegments()abstract IPAddressSectionIPAddressSection.setPrefixLength(int prefixLength) abstract IPAddressSectionIPAddressSection.setPrefixLength(int prefixLength, boolean zeroed) abstract IPAddressSectionIPAddressSection.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 IPAddressSectionIPAddressSection.toMaxHost()abstract IPAddressSectionIPAddressSection.toMaxHost(int prefixLength) abstract IPAddressSectionIPAddressSection.toPrefixBlock()abstract IPAddressSectionIPAddressSection.toPrefixBlock(int networkPrefixLength) abstract IPAddressSectionIPAddressSection.toZeroHost()abstract IPAddressSectionIPAddressSection.toZeroHost(int prefixLength) abstract IPAddressSectionIPAddressSection.toZeroNetwork()abstract IPAddressSectionIPAddressSection.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 TypeMethodDescriptionbooleanIPAddressSection.containsNonZeroHosts(IPAddressSection other) Returns whether this address contains the non-zero host addresses in other.booleanIPAddressSection.matchesWithMask(IPAddressSection other, IPAddressSection mask) Applies the mask to this address section and then compares values with the given address sectionabstract booleanIPAddressSection.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 TypeMethodDescriptionbooleanIPv4AddressSection.matchesWithMask(IPAddressSection other, IPAddressSection mask) booleanIPv4AddressSection.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 TypeMethodDescriptionbooleanIPv6AddressSection.matchesWithMask(IPAddressSection other, IPAddressSection mask) booleanIPv6AddressSection.prefixContains(IPAddressSection o)