Package | Description |
---|---|
inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
inet.ipaddr.format.standard |
Classes for constructing division groupings in which the divisions are under 64 bits of length.
|
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
|
inet.ipaddr.mac |
Classes for MAC addresses.
|
Modifier and Type | Class and Description |
---|---|
class |
IPAddress
A single IP address, or a subnet of multiple addresses.
|
Modifier and Type | Method and Description |
---|---|
abstract Address |
Address.adjustPrefixBySegment(boolean nextSegment) |
abstract Address |
Address.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed) |
abstract Address |
Address.adjustPrefixLength(int adjustment) |
abstract Address |
Address.adjustPrefixLength(int adjustment,
boolean zeroed) |
abstract Address |
Address.applyPrefixLength(int networkPrefixLength)
Deprecated.
|
Address |
HostIdentifierString.getAddress() |
abstract Address |
Address.getLower() |
abstract Address |
Address.getUpper() |
abstract Address |
Address.increment(long increment) |
abstract Address |
Address.incrementBoundary(long increment) |
abstract Address |
Address.removePrefixLength()
Deprecated.
|
abstract Address |
Address.removePrefixLength(boolean zeroed)
Deprecated.
|
abstract Address |
Address.reverseBits(boolean perByte) |
abstract Address |
Address.reverseBytes() |
abstract Address |
Address.reverseBytesPerSegment() |
abstract Address |
Address.reverseSegments() |
abstract Address |
Address.setPrefixLength(int prefixLength) |
abstract Address |
Address.setPrefixLength(int prefixLength,
boolean zeroed) |
Address |
HostIdentifierString.toAddress() |
abstract Address |
Address.toPrefixBlock() |
abstract Address |
Address.withoutPrefixLength() |
Modifier and Type | Method and Description |
---|---|
abstract Iterable<? extends Address> |
Address.getIterable() |
abstract Iterator<? extends Address> |
Address.iterator() |
abstract Iterator<? extends Address> |
Address.prefixBlockIterator() |
abstract AddressComponentSpliterator<? extends Address> |
Address.prefixBlockSpliterator() |
abstract Stream<? extends Address> |
Address.prefixBlockStream() |
abstract Iterator<? extends Address> |
Address.prefixIterator() |
abstract AddressComponentSpliterator<? extends Address> |
Address.prefixSpliterator() |
abstract Stream<? extends Address> |
Address.prefixStream() |
abstract AddressComponentSpliterator<? extends Address> |
Address.spliterator() |
abstract Stream<? extends Address> |
Address.stream() |
Modifier and Type | Method and Description |
---|---|
int |
AddressComparator.compare(Address one,
Address two) |
boolean |
Address.contains(Address other)
Returns whether this is same type and version of the given address and whether it contains all values in the given address or subnet
|
abstract BigInteger |
Address.enumerate(Address other)
Indicates where an address sits relative to the subnet ordering.
|
boolean |
Address.isSameAddress(Address other) |
static boolean |
Address.matchOrdered(Address[] addrs1,
Address[] addrs2)
Checks if the two arrays share the same ordered list of addresses, subnets, or address collections, using address equality.
|
static boolean |
Address.matchOrdered(Address[] addrs1,
Address[] addrs2)
Checks if the two arrays share the same ordered list of addresses, subnets, or address collections, using address equality.
|
static boolean |
Address.matchUnordered(Address[] addrs1,
Address[] addrs2)
Checks if the two arrays share the same list of addresses, subnets, or address collections, in any order, using address equality.
|
static boolean |
Address.matchUnordered(Address[] addrs1,
Address[] addrs2)
Checks if the two arrays share the same list of addresses, subnets, or address collections, in any order, using address equality.
|
boolean |
Address.overlaps(Address other)
Returns whether this is same type and version of the given address and whether it overlaps with the values in the given address or subnet
|
boolean |
Address.prefixEquals(Address other) |
Modifier and Type | Class and Description |
---|---|
class |
AddressCreator<T extends Address,R extends AddressSection,E extends AddressSection,S extends AddressSegment>
Has methods for creating addresses, segments and sections that are available to the parser.
|
Modifier and Type | Class and Description |
---|---|
class |
AddedTree<E extends Address>
AddedTree is an alternative non-binary tree data structure originating from a binary trie
with the possible exception of the root, which matches the root node of the original.
|
static class |
AddedTree.AddedTreeNode<E extends Address>
AddedTreeNode represents a node in an AddedTree.
|
class |
AddressTrie<E extends Address>
A compact binary trie (aka compact binary prefix tree, or binary radix trie), for addresses and/or CIDR prefix block subnets.
|
static class |
AddressTrie.AddressComparator<E extends Address>
A comparator that provides the same ordering used by the trie,
an ordering that works with prefix block subnets and individual addresses.
|
static class |
AddressTrie.TrieComparator<E extends Address> |
static class |
AddressTrie.TrieNode<E extends Address>
A node for a compact binary prefix trie whose elements are prefix block subnets or addresses,
|
class |
AddressTrieMap<K extends Address,V>
Wraps a
AssociativeAddressTrie to view it as a Java Collections Framework map,
implementing the Map , SortedMap , and NavigableMap interfaces. |
static class |
AddressTrieMap.EntrySet<K extends Address,V> |
interface |
AddressTrieOps<E extends Address>
Provides an interface to the trie operations.
|
static interface |
AddressTrieOps.AddressTrieAddOps<E extends Address>
Provides an interface to the trie add operations.
|
static interface |
AddressTrieOps.AssociativeAddressTrieOps<K extends Address,V>
Provides an interface to the associative trie operations.
|
static interface |
AddressTrieOps.AssociativeAddressTriePutOps<K extends Address,V>
Provides an interface to the associative trie put operations.
|
class |
AddressTrieSet<E extends Address>
Wraps a
AddressTrie to view it as a Java Collections Framework set,
implementing the Set , SortedSet and NavigableSet interfaces. |
static class |
AddressTrieSet.Range<E extends Address> |
class |
AssociativeAddedTree<E extends Address,V>
AssociativeAddedTree is similar to AddedTree but originates from an AssociativeTrie.
|
static class |
AssociativeAddedTree.AssociativeAddedTreeNode<E extends Address,V>
AssociativeAddedTreeNode represents a node in an AssociativeAddedTree.
|
class |
AssociativeAddressTrie<K extends Address,V>
An address trie in which each node is associated with a value.
|
static class |
AssociativeAddressTrie.AssociativeTrieNode<K extends Address,V> |
Modifier and Type | Method and Description |
---|---|
static <E extends Address> |
Partition.checkBlockOrAddress(E addr)
If the given address is a single prefix block, it is returned.
|
static <E extends Address> |
AddressTrie.decrement(E addr)
Returns the previous address according to the trie ordering
|
static <E extends Address> |
AddressTrie.increment(E addr)
Returns the next address according to the trie ordering
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
IPv4Address.enumerate(Address other) |
Modifier and Type | Class and Description |
---|---|
class |
IPv6Address
An IPv6 address, or a subnet of multiple IPv6 addresses.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IPv6Address.contains(Address other) |
BigInteger |
IPv6Address.enumerate(Address other) |
boolean |
IPv6Address.isSameAddress(Address other) |
boolean |
IPv6Address.overlaps(Address other) |
Modifier and Type | Class and Description |
---|---|
class |
MACAddress
A MAC address, or a collection of multiple MAC addresses.
|
Modifier and Type | Method and Description |
---|---|
BigInteger |
MACAddress.enumerate(Address other) |