Uses of Class
inet.ipaddr.IPAddress
Packages that use IPAddress
Package
Description
Base classes for IP addresses and generic addresses.
Base classes for generic representations of address divisions and groupings of address divisions.
Contains utility classes such as collections, spliterators, and String-writers.
Validation of address strings and creation of address representations from the validated strings.
Classes for IPv4
Classes for IPv6
-
Uses of IPAddress in inet.ipaddr
Classes in inet.ipaddr with type parameters of type IPAddressModifier 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.static classIPAddressNetwork.IPAddressCreator<T extends IPAddress, R extends IPAddressSection, E extends IPAddressSection, S extends IPAddressSegment, J extends InetAddress>classPrefixBlockAllocator<E extends IPAddress>Allocates blocks of the desired size from a set of seed blocks provided to it previously for allocation.static classPrefixBlockAllocator.AllocatedBlock<E extends IPAddress>Represents a block of addresses allocated for assignment to hosts.Fields in inet.ipaddr declared as IPAddressModifier and TypeFieldDescriptionfinal EPrefixBlockAllocator.AllocatedBlock.blockThe allocated prefix block.Methods in inet.ipaddr that return IPAddressModifier and TypeMethodDescriptionabstract IPAddressIPAddress.adjustPrefixBySegment(boolean nextSegment) abstract IPAddressIPAddress.adjustPrefixBySegment(boolean nextSegment, boolean zeroed) abstract IPAddressIPAddress.adjustPrefixLength(int adjustment) Increases or decreases prefix length by the given increment.abstract IPAddressIPAddress.adjustPrefixLength(int adjustment, boolean zeroed) abstract IPAddressIPAddress.applyPrefixLength(int networkPrefixLength) Deprecated.HostName.asAddress()If this represents an ip address, returns that address.HostName.asAddress(IPAddress.IPVersion version) Deprecated.IPAddress.assignMinPrefixForBlock()Constructs an equivalent address with the smallest CIDR prefix possible (largest network), such that the range of values are a set of subnet blocks for that prefix.IPAddress.assignPrefixForSingleBlock()Returns the equivalent CIDR address with a prefix length for which the address subnet block matches the range of values in this address.abstract IPAddressEquivalent to callingIPAddress.bitwiseOr(IPAddress, boolean)with the second argument as false.abstract IPAddressDoes the bitwise disjunction with this address.abstract IPAddressIPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) Does the bitwise disjunction with this address.abstract IPAddressIPAddress.coverWithPrefixBlock(IPAddress other) Returns the minimal-size prefix block that covers all the addresses spanning from this subnet to the given subnet.abstract IPAddressIPAddressSeqRange.coverWithPrefixBlock()Returns the minimal-size prefix block that covers all the addresses in this range.IPAddressNetwork.IPAddressGenerator.from(byte[] bytes) IPAddressNetwork.IPAddressGenerator.from(byte[] bytes, int byteStartIndex, int byteEndIndex) IPAddressNetwork.IPAddressGenerator.from(byte[] bytes, int byteStartIndex, int byteEndIndex, Integer networkPrefixLength) IPAddressNetwork.IPAddressGenerator.from(IPAddress.IPVersion version, Address.SegmentValueProvider lowerValueProvider, Address.SegmentValueProvider upperValueProvider, Integer prefixLength) IPAddressNetwork.IPAddressGenerator.from(InetAddress inetAddress) IPAddressNetwork.IPAddressGenerator.from(InetAddress inetAddress, Integer prefixLength) IPAddressNetwork.IPAddressGenerator.from(InterfaceAddress interfaceAddress) HostName.getAddress()If this represents an ip address, returns that address.IPAddressString.getAddress()If this represents an ip address, returns that address.IPAddressString.getAddress(IPAddress.IPVersion version) Similar toIPAddressString.toAddress(inet.ipaddr.IPAddress.IPVersion), but returns null rather than throwing an exception with the address is invalid or does not match the supplied version.E[]PrefixBlockAllocator.getAvailable()Returns a list of all the blocks available for allocating in the allocator.IPAddressString.getHostAddress()If this address string was constructed from a host address with prefix length, then this provides just the host address, rather than the address provided byIPAddressString.getAddress()that incorporates the prefix.IPAddress.getHostMask()abstract IPAddressIPAddress.getLower()IPAddressSeqRange.getLower()Returns the lowest address in the sequential range, the one with the lowest numeric valueabstract IPAddressIPAddress.getLowerNonZeroHost()HostName.getMask()If a mask was provided with this host name, this returns the resulting mask value.IPAddressString.getMask()If a mask was provided with this address string, this returns the resulting mask value.IPAddress.getNetworkMask()abstract IPAddressIPAddress.getUpper()IPAddressSeqRange.getUpper()Returns the highest address in the sequential range, the one with the highest numeric valueabstract IPAddressIPAddress.increment(long increment) abstract IPAddressIPAddress.incrementBoundary(long increment) abstract IPAddressProduces the subnet whose addresses are found in both this and the given subnet argument, or null if no such addresses.abstract IPAddressEquivalent to callingIPAddress.mask(IPAddress, boolean)with the second argument as false.abstract IPAddressApplies the given mask to all addresses represented by this IPAddress.abstract IPAddressIPAddress.maskNetwork(IPAddress mask, int networkPrefixLength) Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.abstract IPAddress[]IPAddress.mergeToPrefixBlocks(IPAddress... addresses) Merges this with the list of addresses to produce the smallest list of prefix blocks.abstract IPAddress[]IPAddress.mergeToSequentialBlocks(IPAddress... addresses) Merges this with the list of subnets to produce the smallest list of block subnets that are sequential.IPAddress.removeBitCountPrefixLength()Removes the prefix length from addresses with a prefix length extending to the end of the address.abstract IPAddressIPAddress.removePrefixLength()Deprecated.abstract IPAddressIPAddress.removePrefixLength(boolean zeroed) Deprecated.abstract IPAddressIPAddress.reverseBits(boolean perByte) abstract IPAddressIPAddress.reverseBytes()abstract IPAddressIPAddress.reverseBytesPerSegment()abstract IPAddressIPAddress.reverseSegments()abstract IPAddressIPAddress.setPrefixLength(int prefixLength) abstract IPAddressIPAddress.setPrefixLength(int prefixLength, boolean zeroed) abstract IPAddressIPAddress.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 IPAddress[]IPAddress.spanWithPrefixBlocks(IPAddress other) Produces the list of prefix block subnets that span from this subnet to the given subnet.abstract IPAddress[]IPAddressSeqRange.spanWithPrefixBlocks()abstract IPAddress[]IPAddress.spanWithSequentialBlocks(IPAddress other) Produces a list of sequential block subnets that span all values from this subnet to the given subnet.abstract IPAddress[]IPAddressSeqRange.spanWithSequentialBlocks()abstract IPAddress[]Subtract the given subnet from this subnet, returning an array of subnets for the result (the subnets will not be contiguous so an array is required).HostName.toAddress()If this represents an IP address, returns that address.IPAddressString.toAddress()Produces theIPAddresscorresponding to this IPAddressString.IPAddressString.toAddress(IPAddress.IPVersion version) Produces theIPAddressof the specified address version corresponding to this IPAddressString.HostName.toAllAddresses()Similar toHostName.toAddress(), however in the case where the host is resolved, this method returns all resolved addresses rather than the primary resolved address.IPAddressString.toHostAddress()If this address string was constructed from a string comprising of a host address with prefix length or mask, then this provides just the host address, rather than the address with the prefix or mask applied that is provided byIPAddressString.toAddress().Address.toIPAddress()If this address is an IP address, returns thatIPAddress.IPAddress.toIPAddress()abstract IPAddressIPAddress.toMaxHost()abstract IPAddressIPAddress.toMaxHost(int prefixLength) abstract IPAddressIPAddress.toPrefixBlock()Returns the subnet associated with the prefix length of this address.abstract IPAddressIPAddress.toPrefixBlock(int networkPrefixLength) abstract IPAddressIPAddress.toZeroHost()abstract IPAddressIPAddress.toZeroHost(int prefixLength) abstract IPAddressIPAddress.toZeroNetwork()abstract IPAddressIPAddress.withoutPrefixLength()Methods in inet.ipaddr that return types with arguments of type IPAddressModifier and TypeMethodDescriptionIPAddress.blockIterator(int segmentCount) abstract AddressComponentSpliterator<? extends IPAddress> IPAddress.blockSpliterator(int segmentCount) IPAddress.blockStream(int segmentCount) IPAddress.getIterable()IPAddressSeqRange.getIterable()IPAddress.iterator()IPAddressSeqRange.iterator()IPAddress.nonZeroHostIterator()IPAddress.prefixBlockIterator()IPAddressSeqRange.prefixBlockIterator(int prefLength) Iterates through the range of prefix blocks in this range instance using the given prefix length.abstract AddressComponentSpliterator<? extends IPAddress> IPAddress.prefixBlockSpliterator()abstract AddressComponentRangeSpliterator<? extends IPAddressSeqRange, ? extends IPAddress> IPAddressSeqRange.prefixBlockSpliterator(int prefLength) IPAddress.prefixBlockStream()IPAddressSeqRange.prefixBlockStream(int prefLength) IPAddress.prefixIterator()abstract AddressComponentSpliterator<? extends IPAddress> IPAddress.prefixSpliterator()IPAddress.prefixStream()IPAddress.sequentialBlockIterator()AddressComponentSpliterator<? extends IPAddress> IPAddress.sequentialBlockSpliterator()IPAddress.sequentialBlockStream()abstract AddressComponentSpliterator<? extends IPAddress> IPAddress.spliterator()abstract AddressComponentRangeSpliterator<? extends IPAddressSeqRange, ? extends IPAddress> IPAddressSeqRange.spliterator()IPAddress.stream()IPAddressSeqRange.stream()Methods in inet.ipaddr with parameters of type IPAddressModifier and TypeMethodDescriptionvoidPrefixBlockAllocator.addAvailable(E... newBlocks) Provides the given blocks to the allocator for allocating.<V> VIPAddress.applyToBounds(BiFunction<? super IPAddress, ? super IPAddress, V> func, IPAddress... series) Finds the lowest and highest single-valued address from the given addresses and subnets and this one, calling the given BiFunction with the lowest as first argument and the highest as second.abstract IPAddressEquivalent to callingIPAddress.bitwiseOr(IPAddress, boolean)with the second argument as false.abstract IPAddressDoes the bitwise disjunction with this address.abstract IPAddressIPAddress.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) Does the bitwise disjunction with this address.booleanReturns whether this contains all values of the given address or subnetbooleanbooleanIPAddress.containsNonZeroHosts(IPAddress other) Returns whether this address contains the non-zero host addresses in the other address or subnetabstract IPAddressIPAddress.coverWithPrefixBlock(IPAddress other) Returns the minimal-size prefix block that covers all the addresses spanning from this subnet to the given subnet.abstract BigIntegerIndicates where an address sits relative to the subnet ordering.Returns the distance of the given address from the initial value of this range.abstract IPAddressProduces the subnet whose addresses are found in both this and the given subnet argument, or null if no such addresses.booleanIPAddressConverter.DefaultAddressConverter.isIPv4Convertible(IPAddress address) booleanIPAddressConverter.isIPv4Convertible(IPAddress address) returns whether the address is IPv4 or can be converted to IPv4.booleanIPAddressConverter.DefaultAddressConverter.isIPv6Convertible(IPAddress address) booleanIPAddressConverter.isIPv6Convertible(IPAddress address) returns whether the address is IPv6 or can be converted to IPv6.abstract IPAddressEquivalent to callingIPAddress.mask(IPAddress, boolean)with the second argument as false.abstract IPAddressApplies the given mask to all addresses represented by this IPAddress.abstract IPAddressIPAddress.maskNetwork(IPAddress mask, int networkPrefixLength) Applies the given mask to all addresses represented by this IPAddress while also applying the given prefix length at the same time.booleanIPAddress.matchesWithMask(IPAddress other, IPAddress mask) Applies the mask to this address and then compares values with the given addressstatic IPAddress.DualIPv4Pv6ArraysIPAddress.mergeToDualPrefixBlocks(IPAddress... addresses) merges the given set of IP addresses and subnets into a minimal number of prefix blocks.static IPAddress.DualIPv4Pv6ArraysIPAddress.mergeToDualSequentialBlocks(IPAddress... addresses) merges the given set of IP addresses and subnets into a minimal number of prefix blocks.abstract IPAddress[]IPAddress.mergeToPrefixBlocks(IPAddress... addresses) Merges this with the list of addresses to produce the smallest list of prefix blocks.abstract IPAddress[]IPAddress.mergeToSequentialBlocks(IPAddress... addresses) Merges this with the list of subnets to produce the smallest list of block subnets that are sequential.booleanReturns true if this address overlaps the given address or subnetbooleanReturns true if this sequential range overlaps the given address or subnet.booleanIPAddress.prefixContains(IPAddress other) Returns whether the prefix of this address contains all values of the same bits in the given address or subnetabstract IPAddress[]IPAddress.spanWithPrefixBlocks(IPAddress other) Produces the list of prefix block subnets that span from this subnet to the given subnet.abstract IPAddressSeqRangeIPAddress.spanWithRange(IPAddress other) Produces an IPAddressRange instance that spans this subnet to the given subnet.abstract IPAddress[]IPAddress.spanWithSequentialBlocks(IPAddress other) Produces a list of sequential block subnets that span all values from this subnet to the given subnet.abstract IPAddress[]Subtract the given subnet from this subnet, returning an array of subnets for the result (the subnets will not be contiguous so an array is required).abstract IPAddressSeqRangeIPAddress.toSequentialRange(IPAddress other) Deprecated.Method parameters in inet.ipaddr with type arguments of type IPAddressModifier and TypeMethodDescription<V> VIPAddress.applyToBounds(BiFunction<? super IPAddress, ? super IPAddress, V> func, IPAddress... series) Finds the lowest and highest single-valued address from the given addresses and subnets and this one, calling the given BiFunction with the lowest as first argument and the highest as second.<V> VIPAddress.applyToBounds(BiFunction<? super IPAddress, ? super IPAddress, V> func, IPAddress... series) Finds the lowest and highest single-valued address from the given addresses and subnets and this one, calling the given BiFunction with the lowest as first argument and the highest as second.IPAddressSeqRange.toString(Function<? super IPAddress, String> lowerStringer, String separator, Function<? super IPAddress, String> upperStringer) Constructors in inet.ipaddr with parameters of type IPAddress -
Uses of IPAddress in inet.ipaddr.format
Methods in inet.ipaddr.format that return IPAddressModifier and TypeMethodDescriptionIPAddressRange.coverWithPrefixBlock()Returns the minimal-size prefix block that covers all the addresses in this range.IPAddressRange.getLower()Returns the address in the range with the lowest numeric value.IPAddressRange.getUpper()Returns the address in the range with the highest numeric value.IPAddressRange.spanWithPrefixBlocks()Produces an array of prefix blocks that spans the same set of addresses.IPAddressRange.spanWithSequentialBlocks()Produces an array of blocks that are sequential that cover the same set of addresses.Methods in inet.ipaddr.format that return types with arguments of type IPAddressModifier and TypeMethodDescriptionIPAddressRange.getIterable()Useful for using an instance in a "for-each loop", as infor(addr : address.getIterable()) { ...IPAddressRange.iterator()Iterates through the individual addresses of this address or subnet.IPAddressRange.prefixBlockIterator(int prefLength) Iterates through the range of prefix blocks in this range instance using the given prefix length.AddressComponentRangeSpliterator<? extends IPAddressRange, ? extends IPAddress> IPAddressRange.prefixBlockSpliterator(int prefLength) Partitions and traverses through the individual prefix blocks for the given prefix length.IPAddressRange.prefixBlockStream(int prefLength) Returns a sequential stream of the prefix blocks for the given prefix length.AddressComponentRangeSpliterator<? extends IPAddressRange, ? extends IPAddress> IPAddressRange.spliterator()Partitions and traverses through the individual addresses.Methods in inet.ipaddr.format with parameters of type IPAddressModifier and TypeMethodDescriptionbooleanReturns whether this range contains all addresses in the given address or subnetIndicates where an address sits relative to the range ordering.booleanReturns whether this range overlaps the addresses in the given address or subnet -
Uses of IPAddress in inet.ipaddr.format.util
Classes in inet.ipaddr.format.util that implement interfaces with type arguments of type IPAddressModifier and TypeClassDescriptionclassBaseDualIPv4v6Tries<T4 extends AddressTrie<IPv4Address>, T6 extends AddressTrie<IPv6Address>>Contains a pair of IPv4 and IPv6 tries for a data structure that can have fast look-up and containment checks of both IPv4 and IPv6 addresses.Methods in inet.ipaddr.format.util with type parameters of type IPAddressModifier and TypeMethodDescriptionPartition.partitionWithSpanningBlocks(E newAddr) Partitions the address series into prefix blocks and single addresses.Methods in inet.ipaddr.format.util that return IPAddressMethods in inet.ipaddr.format.util that return types with arguments of type IPAddressModifier and TypeMethodDescriptionAddressTrie.TrieNode<? extends IPAddress> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.addTrie(AddressTrie.TrieNode<? extends IPAddress> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.addTrie(AddressTrie.TrieNode<? extends IPAddress> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.addTrie(AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> trie) abstract Iterator<? extends AddressTrie.TrieNode<? extends IPAddress>> BaseDualIPv4v6Tries.blockSizeNodeIterator(boolean lowerSubNodeFirst) Iterator<AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V>> DualIPv4v6AssociativeTries.blockSizeNodeIterator(boolean lowerSubNodeFirst) Iterator<AddressTrie.TrieNode<? extends IPAddress>> DualIPv4v6Tries.blockSizeNodeIterator(boolean lowerSubNodeFirst) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.ceilingAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.ceilingAddedNode(IPAddress addr) abstract Iterator<? extends AddressTrie.TrieNode<? extends IPAddress>> BaseDualIPv4v6Tries.containedFirstIterator(boolean forwardSubNodeOrder) Iterator<AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V>> DualIPv4v6AssociativeTries.containedFirstIterator(boolean forwardSubNodeOrder) Iterator<AddressTrie.TrieNode<? extends IPAddress>> DualIPv4v6Tries.containedFirstIterator(boolean forwardSubNodeOrder) abstract Iterator<? extends AddressTrie.TrieNode<? extends IPAddress>> BaseDualIPv4v6Tries.containingFirstIterator(boolean forwardSubNodeOrder) Iterator<AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V>> DualIPv4v6AssociativeTries.containingFirstIterator(boolean forwardSubNodeOrder) Iterator<AddressTrie.TrieNode<? extends IPAddress>> DualIPv4v6Tries.containingFirstIterator(boolean forwardSubNodeOrder) BaseDualIPv4v6Tries.descendingIterator()BaseDualIPv4v6Tries.descendingSpliterator()AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.elementsContainedBy(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.elementsContainedBy(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.elementsContaining(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.elementsContaining(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.floorAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.floorAddedNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.getAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.getAddedNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.higherAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.higherAddedNode(IPAddress addr) BaseDualIPv4v6Tries.iterator()AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.longestPrefixMatchNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.longestPrefixMatchNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.lowerAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.lowerAddedNode(IPAddress addr) abstract Iterator<? extends AddressTrie.TrieNode<? extends IPAddress>> BaseDualIPv4v6Tries.nodeIterator(boolean forward) Iterator<AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V>> DualIPv4v6AssociativeTries.nodeIterator(boolean forward) Iterator<AddressTrie.TrieNode<? extends IPAddress>> DualIPv4v6Tries.nodeIterator(boolean forward) abstract Spliterator<? extends AddressTrie.TrieNode<? extends IPAddress>> BaseDualIPv4v6Tries.nodeSpliterator(boolean forward) Spliterator<AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V>> DualIPv4v6AssociativeTries.nodeSpliterator(boolean forward) Spliterator<AddressTrie.TrieNode<? extends IPAddress>> DualIPv4v6Tries.nodeSpliterator(boolean forward) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.putTrie(AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.remapIfAbsent(IPAddress addr, Supplier<? extends V> remapper, boolean insertNull) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.removeElementsContainedBy(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.removeElementsContainedBy(IPAddress addr) BaseDualIPv4v6Tries.spliterator()Methods in inet.ipaddr.format.util with parameters of type IPAddressModifier and TypeMethodDescriptionbooleanAdds the given single address or prefix block subnet to one of the two tries.AddressTrie.TrieNode<? extends IPAddress> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.ceilingAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.ceilingAddedNode(IPAddress addr) booleanReturns whether the given address or prefix block subnet is in one of the two tries (as an added element).booleanBaseDualIPv4v6Tries.elementContains(IPAddress addr) Checks if a prefix block subnet or address in ones of the two tries contains the given subnet or address.AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.elementsContainedBy(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.elementsContainedBy(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.elementsContaining(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.elementsContaining(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.floorAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.floorAddedNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.getAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.getAddedNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.higherAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.higherAddedNode(IPAddress addr) BaseDualIPv4v6Tries.longestPrefixMatch(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.longestPrefixMatchNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.longestPrefixMatchNode(IPAddress addr) AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.lowerAddedNode(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.lowerAddedNode(IPAddress addr) booleanAssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.remapIfAbsent(IPAddress addr, Supplier<? extends V> remapper, boolean insertNull) booleanRemoves the given single address or prefix block subnet from the tries.AddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.removeElementsContainedBy(IPAddress addr) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.removeElementsContainedBy(IPAddress addr) Method parameters in inet.ipaddr.format.util with type arguments of type IPAddressModifier and TypeMethodDescriptionAddressTrie.TrieNode<? extends IPAddress> BaseDualIPv4v6Tries.addTrie(AddressTrie.TrieNode<? extends IPAddress> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.addTrie(AddressTrie.TrieNode<? extends IPAddress> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.addTrie(AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> trie) AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> DualIPv4v6AssociativeTries.putTrie(AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress, V> trie) -
Uses of IPAddress in inet.ipaddr.format.validate
Methods in inet.ipaddr.format.validate that return IPAddressModifier and TypeMethodDescriptionParsedHost.asAddress()ParsedHost.asAddress(IPAddress.IPVersion version) ParsedHost.getMask()IPAddressProvider.AdjustedAddressCreator.getProviderAddress()IPAddressProvider.CachedAddressProvider.getProviderAddress()IPAddressProvider.CachedAddressProvider.getProviderAddress(IPAddress.IPVersion version) IPAddressProvider.getProviderAddress()IPAddressProvider.getProviderAddress(IPAddress.IPVersion version) IPAddressProvider.NullProvider.getProviderAddress()IPAddressProvider.NullProvider.getProviderAddress(IPAddress.IPVersion version) IPAddressProvider.VersionedAddressCreator.getProviderAddress(IPAddress.IPVersion version) ParsedIPAddress.getProviderAddress()ParsedIPAddress.getProviderAddress(IPAddress.IPVersion version) IPAddressProvider.AdjustedAddressCreator.getProviderHostAddress()IPAddressProvider.CachedAddressProvider.getProviderHostAddress()IPAddressProvider.getProviderHostAddress()IPAddressProvider.NullProvider.getProviderHostAddress()ParsedIPAddress.getProviderHostAddress()IPAddressProvider.AllCreator.getProviderMask()default IPAddressIPAddressProvider.getProviderMask()ParsedIPAddress.getProviderMask()Methods in inet.ipaddr.format.validate with parameters of type IPAddressModifier and TypeMethodDescriptionstatic IPAddressProviderIPAddressProvider.getProviderFor(IPAddress address, IPAddress hostAddress) Wraps an IPAddress for IPAddressString in the cases where no parsing is provided, the address exists already -
Uses of IPAddress in inet.ipaddr.ipv4
Subclasses of IPAddress in inet.ipaddr.ipv4Modifier and TypeClassDescriptionclassAn IPv4 address, or a subnet of multiple IPv4 addresses.Methods in inet.ipaddr.ipv4 with parameters of type IPAddressModifier and TypeMethodDescriptionIPv4Address.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) IPv4Address.coverWithPrefixBlock(IPAddress other) IPv4Address.maskNetwork(IPAddress mask, int networkPrefixLength) IPv4Address.mergeToPrefixBlocks(IPAddress... addresses) IPv4Address.mergeToSequentialBlocks(IPAddress... addresses) IPv4Address.spanWithPrefixBlocks(IPAddress other) IPv4Address.spanWithRange(IPAddress other) IPv4Address.spanWithSequentialBlocks(IPAddress other) If the given address is IPv4, or can be converted to IPv4, returns thatIPv4Address.IPv4Address.toSequentialRange(IPAddress other) Deprecated. -
Uses of IPAddress in inet.ipaddr.ipv6
Subclasses of IPAddress in inet.ipaddr.ipv6Modifier and TypeClassDescriptionclassAn IPv6 address, or a subnet of multiple IPv6 addresses.Methods in inet.ipaddr.ipv6 with parameters of type IPAddressModifier and TypeMethodDescriptionIPv6Address.bitwiseOrNetwork(IPAddress mask, int networkPrefixLength) IPv6Address.coverWithPrefixBlock(IPAddress other) IPv6Address.maskNetwork(IPAddress mask, int networkPrefixLength) IPv6Address.mergeToPrefixBlocks(IPAddress... addresses) IPv6Address.mergeToSequentialBlocks(IPAddress... addresses) IPv6Address.spanWithPrefixBlocks(IPAddress other) IPv6Address.spanWithRange(IPAddress other) IPv6Address.spanWithSequentialBlocks(IPAddress other) If the given address is IPv6, or can be converted to IPv6, returns thatIPv6Address.IPv6Address.toSequentialRange(IPAddress other) Deprecated.
IPAddress.spanWithRange(IPAddress)