Package | Description |
---|---|
inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
inet.ipaddr.format |
Base classes for generic representations of address divisions and groupings of address divisions.
|
inet.ipaddr.format.util |
Contains utility classes such as collections, spliterators, and String-writers.
|
inet.ipaddr.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for IPv6
|
Modifier and Type | Class and Description |
---|---|
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> |
class |
PrefixBlockAllocator<E extends IPAddress>
Allocates blocks of the desired size from a set of seed blocks provided to it previously for allocation.
|
static class |
PrefixBlockAllocator.AllocatedBlock<E extends IPAddress>
Represents a block of addresses allocated for assignment to hosts.
|
Modifier and Type | Field and Description |
---|---|
E |
PrefixBlockAllocator.AllocatedBlock.block
The allocated prefix block.
|
Modifier and Type | Method and Description |
---|---|
abstract IPAddress |
IPAddress.adjustPrefixBySegment(boolean nextSegment) |
abstract IPAddress |
IPAddress.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
abstract IPAddress |
IPAddress.adjustPrefixLength(int adjustment)
Increases or decreases prefix length by the given increment.
|
abstract IPAddress |
IPAddress.adjustPrefixLength(int adjustment,
boolean zeroed) |
abstract IPAddress |
IPAddress.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
IPAddress |
HostName.asAddress()
If this represents an ip address, returns that address.
|
IPAddress |
HostName.asAddress(IPAddress.IPVersion version)
Deprecated.
|
IPAddress |
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 |
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 IPAddress |
IPAddress.bitwiseOr(IPAddress mask)
Equivalent to calling
bitwiseOr(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddressSeqRange.coverWithPrefixBlock()
Returns the minimal-size prefix block that covers all the addresses in this range.
|
abstract IPAddress |
IPAddress.coverWithPrefixBlock(IPAddress other)
Returns the minimal-size prefix block that covers all the addresses spanning from this subnet to the given subnet.
|
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(byte[] bytes) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(byte[] bytes,
Integer prefixLength) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(byte[] bytes,
int byteStartIndex,
int byteEndIndex) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(byte[] bytes,
int byteStartIndex,
int byteEndIndex,
Integer networkPrefixLength) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(InetAddress inetAddress) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(InetAddress inetAddress,
Integer prefixLength) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(InterfaceAddress interfaceAddress) |
IPAddress |
IPAddressNetwork.IPAddressGenerator.from(IPAddress.IPVersion version,
Address.SegmentValueProvider lowerValueProvider,
Address.SegmentValueProvider upperValueProvider,
Integer prefixLength) |
IPAddress |
IPAddressString.getAddress()
If this represents an ip address, returns that address.
|
IPAddress |
HostName.getAddress()
If this represents an ip address, returns that address.
|
IPAddress |
IPAddressString.getAddress(IPAddress.IPVersion version)
Similar to
IPAddressString.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.
|
IPAddress |
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 by
IPAddressString.getAddress() that incorporates the prefix. |
IPAddress |
IPAddress.getHostMask() |
abstract IPAddress |
IPAddress.getLower() |
IPAddress |
IPAddressSeqRange.getLower()
Returns the lowest address in the sequential range, the one with the lowest numeric value
|
abstract IPAddress |
IPAddress.getLowerNonZeroHost() |
IPAddress |
IPAddressString.getMask()
If a mask was provided with this address string, this returns the resulting mask value.
|
IPAddress |
HostName.getMask()
If a mask was provided with this host name, this returns the resulting mask value.
|
IPAddress |
IPAddress.getNetworkMask() |
abstract IPAddress |
IPAddress.getUpper() |
IPAddress |
IPAddressSeqRange.getUpper()
Returns the highest address in the sequential range, the one with the highest numeric value
|
abstract IPAddress |
IPAddress.increment(long increment) |
abstract IPAddress |
IPAddress.incrementBoundary(long increment) |
abstract IPAddress |
IPAddress.intersect(IPAddress other)
Produces the subnet whose addresses are found in both this and the given subnet argument, or null if no such addresses.
|
abstract IPAddress |
IPAddress.mask(IPAddress mask)
Equivalent to calling
mask(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.mask(IPAddress mask,
boolean retainPrefix)
Applies the given mask to all addresses represented by this IPAddress.
|
abstract IPAddress |
IPAddress.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 |
IPAddress.removeBitCountPrefixLength()
Removes the prefix length from addresses with a prefix length extending to the end of the address.
|
abstract IPAddress |
IPAddress.removePrefixLength()
Deprecated.
|
abstract IPAddress |
IPAddress.removePrefixLength(boolean zeroed)
Deprecated.
|
abstract IPAddress |
IPAddress.reverseBits(boolean perByte) |
abstract IPAddress |
IPAddress.reverseBytes() |
abstract IPAddress |
IPAddress.reverseBytesPerSegment() |
abstract IPAddress |
IPAddress.reverseSegments() |
abstract IPAddress |
IPAddress.setPrefixLength(int prefixLength) |
abstract IPAddress |
IPAddress.setPrefixLength(int prefixLength,
boolean zeroed) |
abstract IPAddress |
IPAddress.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[] |
IPAddressSeqRange.spanWithPrefixBlocks() |
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.spanWithSequentialBlocks() |
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[] |
IPAddress.subtract(IPAddress other)
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).
|
IPAddress |
IPAddressString.toAddress()
Produces the
IPAddress corresponding to this IPAddressString. |
IPAddress |
HostName.toAddress()
If this represents an IP address, returns that address.
|
IPAddress |
IPAddressString.toAddress(IPAddress.IPVersion version)
Produces the
IPAddress of the specified address version corresponding to this IPAddressString. |
IPAddress[] |
HostName.toAllAddresses()
Similar to
HostName.toAddress() , however in the case where the host is resolved,
this method returns all resolved addresses rather than the primary resolved address. |
IPAddress |
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 by
IPAddressString.toAddress() . |
IPAddress |
IPAddress.toIPAddress() |
IPAddress |
Address.toIPAddress()
If this address is an IP address, returns that
IPAddress . |
abstract IPAddress |
IPAddress.toMaxHost() |
abstract IPAddress |
IPAddress.toMaxHost(int prefixLength) |
abstract IPAddress |
IPAddress.toPrefixBlock()
Returns the subnet associated with the prefix length of this address.
|
abstract IPAddress |
IPAddress.toPrefixBlock(int networkPrefixLength) |
abstract IPAddress |
IPAddress.toZeroHost() |
abstract IPAddress |
IPAddress.toZeroHost(int prefixLength) |
abstract IPAddress |
IPAddress.toZeroNetwork() |
abstract IPAddress |
IPAddress.withoutPrefixLength() |
Modifier and Type | Method and Description |
---|---|
abstract Iterator<? extends IPAddress> |
IPAddress.blockIterator(int segmentCount) |
abstract AddressComponentSpliterator<? extends IPAddress> |
IPAddress.blockSpliterator(int segmentCount) |
abstract Stream<? extends IPAddress> |
IPAddress.blockStream(int segmentCount) |
abstract Iterable<? extends IPAddress> |
IPAddress.getIterable() |
abstract Iterable<? extends IPAddress> |
IPAddressSeqRange.getIterable() |
abstract Iterator<? extends IPAddress> |
IPAddress.iterator() |
abstract Iterator<? extends IPAddress> |
IPAddressSeqRange.iterator() |
abstract Iterator<? extends IPAddress> |
IPAddress.nonZeroHostIterator() |
abstract Iterator<? extends IPAddress> |
IPAddress.prefixBlockIterator() |
abstract Iterator<? extends IPAddress> |
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) |
abstract Stream<? extends IPAddress> |
IPAddress.prefixBlockStream() |
abstract Stream<? extends IPAddress> |
IPAddressSeqRange.prefixBlockStream(int prefLength) |
abstract Iterator<? extends IPAddress> |
IPAddress.prefixIterator() |
abstract AddressComponentSpliterator<? extends IPAddress> |
IPAddress.prefixSpliterator() |
abstract Stream<? extends IPAddress> |
IPAddress.prefixStream() |
Iterator<? extends IPAddress> |
IPAddress.sequentialBlockIterator() |
AddressComponentSpliterator<? extends IPAddress> |
IPAddress.sequentialBlockSpliterator() |
Stream<? extends IPAddress> |
IPAddress.sequentialBlockStream() |
abstract AddressComponentSpliterator<? extends IPAddress> |
IPAddress.spliterator() |
abstract AddressComponentRangeSpliterator<? extends IPAddressSeqRange,? extends IPAddress> |
IPAddressSeqRange.spliterator() |
abstract Stream<? extends IPAddress> |
IPAddress.stream() |
abstract Stream<? extends IPAddress> |
IPAddressSeqRange.stream() |
Modifier and Type | Method and Description |
---|---|
void |
PrefixBlockAllocator.addAvailable(E... newBlocks)
Provides the given blocks to the allocator for allocating.
|
<V> V |
IPAddress.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 IPAddress |
IPAddress.bitwiseOr(IPAddress mask)
Equivalent to calling
bitwiseOr(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.bitwiseOr(IPAddress mask,
boolean retainPrefix)
Does the bitwise disjunction with this address.
|
abstract IPAddress |
IPAddress.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength)
Does the bitwise disjunction with this address.
|
boolean |
IPAddress.contains(IPAddress other)
Returns whether this contains all values of the given address or subnet
|
boolean |
IPAddressSeqRange.contains(IPAddress other) |
boolean |
IPAddress.containsNonZeroHosts(IPAddress other)
Returns whether this address contains the non-zero host addresses in the other address or subnet
|
abstract IPAddress |
IPAddress.coverWithPrefixBlock(IPAddress other)
Returns the minimal-size prefix block that covers all the addresses spanning from this subnet to the given subnet.
|
abstract BigInteger |
IPAddress.enumerate(IPAddress other)
Indicates where an address sits relative to the subnet ordering.
|
BigInteger |
IPAddressSeqRange.enumerate(IPAddress other)
Returns the distance of the given address from the initial value of this range.
|
abstract IPAddress |
IPAddress.intersect(IPAddress other)
Produces the subnet whose addresses are found in both this and the given subnet argument, or null if no such addresses.
|
boolean |
IPAddressConverter.isIPv4Convertible(IPAddress address)
returns whether the address is IPv4 or can be converted to IPv4.
|
boolean |
IPAddressConverter.DefaultAddressConverter.isIPv4Convertible(IPAddress address) |
boolean |
IPAddressConverter.isIPv6Convertible(IPAddress address)
returns whether the address is IPv6 or can be converted to IPv6.
|
boolean |
IPAddressConverter.DefaultAddressConverter.isIPv6Convertible(IPAddress address) |
abstract IPAddress |
IPAddress.mask(IPAddress mask)
Equivalent to calling
mask(IPAddress, boolean) with the second argument as false. |
abstract IPAddress |
IPAddress.mask(IPAddress mask,
boolean retainPrefix)
Applies the given mask to all addresses represented by this IPAddress.
|
abstract IPAddress |
IPAddress.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.
|
boolean |
IPAddress.matchesWithMask(IPAddress other,
IPAddress mask)
Applies the mask to this address and then compares values with the given address
|
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.
|
boolean |
IPAddress.overlaps(IPAddress other)
Returns true if this address overlaps with the given address or subnet
|
boolean |
IPAddressSeqRange.overlaps(IPAddress other)
Returns true if this sequential range overlaps with the given address or subnet.
|
boolean |
IPAddress.prefixContains(IPAddress other)
Returns whether the prefix of this address contains all values of the same bits in the given address or subnet
|
abstract IPAddress[] |
IPAddress.spanWithPrefixBlocks(IPAddress other)
Produces the list of prefix block subnets that span from this subnet to the given subnet.
|
abstract IPAddressSeqRange |
IPAddress.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[] |
IPAddress.subtract(IPAddress other)
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).
|
IPv4Address |
IPAddressConverter.DefaultAddressConverter.toIPv4(IPAddress address) |
IPv6Address |
IPAddressConverter.DefaultAddressConverter.toIPv6(IPAddress address) |
abstract IPAddressSeqRange |
IPAddress.toSequentialRange(IPAddress other)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<V> V |
IPAddress.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> V |
IPAddress.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.
|
String |
IPAddressSeqRange.toString(Function<? super IPAddress,String> lowerStringer,
String separator,
Function<? super IPAddress,String> upperStringer) |
String |
IPAddressSeqRange.toString(Function<? super IPAddress,String> lowerStringer,
String separator,
Function<? super IPAddress,String> upperStringer) |
Constructor and Description |
---|
HostName(IPAddress addr)
Constructs a host name from an IP address.
|
HostName(IPAddress addr,
int port)
Constructs a host name from an IP address and a port.
|
Modifier and Type | Method and Description |
---|---|
IPAddress |
IPAddressRange.coverWithPrefixBlock()
Returns the minimal-size prefix block that covers all the addresses in this range.
|
IPAddress |
IPAddressRange.getLower()
Returns the address in the range with the lowest numeric value.
|
IPAddress |
IPAddressRange.getUpper()
Returns the address in the range with the highest numeric value.
|
IPAddress[] |
IPAddressRange.spanWithPrefixBlocks()
Produces an array of prefix blocks that spans the same set of addresses.
|
IPAddress[] |
IPAddressRange.spanWithSequentialBlocks()
Produces an array of blocks that are sequential that cover the same set of addresses.
|
Modifier and Type | Method and Description |
---|---|
Iterable<? extends IPAddress> |
IPAddressRange.getIterable()
Useful for using an instance in a "for-each loop", as in
for(addr : address.getIterable()) { ... |
Iterator<? extends IPAddress> |
IPAddressRange.iterator()
Iterates through the individual addresses of this address or subnet.
|
Iterator<? extends IPAddress> |
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.
|
Stream<? extends IPAddress> |
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.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IPAddressRange.contains(IPAddress other)
Returns whether this range contains all addresses in the given address or subnet
|
BigInteger |
IPAddressRange.enumerate(IPAddress other)
Indicates where an address sits relative to the range ordering.
|
boolean |
IPAddressRange.overlaps(IPAddress other)
Returns whether this range overlaps with the addresses in the given address or subnet
|
Modifier and Type | Method and Description |
---|---|
static <E extends IPAddress> |
Partition.partitionWithSpanningBlocks(E newAddr)
Partitions the address series into prefix blocks and single addresses.
|
Modifier and Type | Method and Description |
---|---|
IPAddress |
BaseDualIPv4v6Tries.ceiling(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.floor(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.higher(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.longestPrefixMatch(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.lower(IPAddress addr) |
Modifier and Type | Method and Description |
---|---|
boolean |
BaseDualIPv4v6Tries.add(IPAddress addr)
Adds the given single address or prefix block subnet to one of the two tries.
|
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.addNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.addNode(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.ceiling(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.ceilingAddedNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.ceilingAddedNode(IPAddress addr) |
boolean |
BaseDualIPv4v6Tries.contains(IPAddress addr)
Returns whether the given address or prefix block subnet is in one of the two tries (as an added element).
|
boolean |
BaseDualIPv4v6Tries.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) |
IPAddress |
BaseDualIPv4v6Tries.floor(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.floorAddedNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.floorAddedNode(IPAddress addr) |
V |
DualIPv4v6AssociativeTries.get(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.getAddedNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.getAddedNode(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.higher(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.higherAddedNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.higherAddedNode(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.longestPrefixMatch(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.longestPrefixMatchNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.longestPrefixMatchNode(IPAddress addr) |
IPAddress |
BaseDualIPv4v6Tries.lower(IPAddress addr) |
AddressTrie.TrieNode<? extends IPAddress> |
BaseDualIPv4v6Tries.lowerAddedNode(IPAddress addr) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.lowerAddedNode(IPAddress addr) |
V |
DualIPv4v6AssociativeTries.put(IPAddress addr,
V value) |
boolean |
DualIPv4v6AssociativeTries.putNew(IPAddress addr,
V value) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.putNode(IPAddress addr,
V value) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.remap(IPAddress addr,
Function<? super V,? extends V> remapper) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.remapIfAbsent(IPAddress addr,
Supplier<? extends V> remapper,
boolean insertNull) |
boolean |
BaseDualIPv4v6Tries.remove(IPAddress addr)
Removes 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) |
Modifier and Type | Method and Description |
---|---|
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) |
AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> |
DualIPv4v6AssociativeTries.putTrie(AssociativeAddressTrie.AssociativeTrieNode<? extends IPAddress,V> trie) |
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
Modifier and Type | Method and Description |
---|---|
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask) |
IPv4Address |
IPv4Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv4Address |
IPv4Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address |
IPv4Address.coverWithPrefixBlock(IPAddress other) |
BigInteger |
IPv4Address.enumerate(IPAddress other) |
IPv4Address |
IPv4Address.intersect(IPAddress other) |
IPv4Address |
IPv4Address.mask(IPAddress mask) |
IPv4Address |
IPv4Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv4Address |
IPv4Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv4Address[] |
IPv4Address.mergeToPrefixBlocks(IPAddress... addresses) |
IPv4Address[] |
IPv4Address.mergeToSequentialBlocks(IPAddress... addresses) |
IPv4Address[] |
IPv4Address.spanWithPrefixBlocks(IPAddress other) |
IPv4AddressSeqRange |
IPv4Address.spanWithRange(IPAddress other) |
IPv4Address[] |
IPv4Address.spanWithSequentialBlocks(IPAddress other) |
IPv4Address[] |
IPv4Address.subtract(IPAddress other) |
IPv4Address |
IPv4Address.IPv4AddressConverter.toIPv4(IPAddress address)
If the given address is IPv4, or can be converted to IPv4, returns that
IPv4Address . |
IPv4AddressSeqRange |
IPv4Address.toSequentialRange(IPAddress other)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv6Address
An IPv6 address, or a subnet of multiple IPv6 addresses.
|
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask) |
IPv6Address |
IPv6Address.bitwiseOr(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.bitwiseOrNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address |
IPv6Address.coverWithPrefixBlock(IPAddress other) |
BigInteger |
IPv6Address.enumerate(IPAddress other) |
IPv6Address |
IPv6Address.intersect(IPAddress other) |
IPv6Address |
IPv6Address.mask(IPAddress mask) |
IPv6Address |
IPv6Address.mask(IPAddress mask,
boolean retainPrefix) |
IPv6Address |
IPv6Address.maskNetwork(IPAddress mask,
int networkPrefixLength) |
IPv6Address[] |
IPv6Address.mergeToPrefixBlocks(IPAddress... addresses) |
IPv6Address[] |
IPv6Address.mergeToSequentialBlocks(IPAddress... addresses) |
IPv6Address[] |
IPv6Address.spanWithPrefixBlocks(IPAddress other) |
IPv6AddressSeqRange |
IPv6Address.spanWithRange(IPAddress other) |
IPv6Address[] |
IPv6Address.spanWithSequentialBlocks(IPAddress other) |
IPv6Address[] |
IPv6Address.subtract(IPAddress other) |
IPv6Address |
IPv6Address.IPv6AddressConverter.toIPv6(IPAddress address)
If the given address is IPv6, or can be converted to IPv6, returns that
IPv6Address . |
IPv6AddressSeqRange |
IPv6Address.toSequentialRange(IPAddress other)
Deprecated.
|