| 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.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() |
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 java.lang.Iterable<? extends Address> |
Address.getIterable() |
abstract java.util.Iterator<? extends Address> |
Address.iterator() |
abstract java.util.Iterator<? extends Address> |
Address.prefixBlockIterator() |
abstract AddressComponentSpliterator<? extends Address> |
Address.prefixBlockSpliterator() |
abstract java.util.stream.Stream<? extends Address> |
Address.prefixBlockStream() |
abstract java.util.Iterator<? extends Address> |
Address.prefixIterator() |
abstract AddressComponentSpliterator<? extends Address> |
Address.prefixSpliterator() |
abstract java.util.stream.Stream<? extends Address> |
Address.prefixStream() |
abstract AddressComponentSpliterator<? extends Address> |
Address.spliterator() |
abstract java.util.stream.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
|
boolean |
Address.isSameAddress(Address other) |
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 |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
| 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) |
boolean |
IPv6Address.isSameAddress(Address other) |
| Modifier and Type | Class and Description |
|---|---|
class |
MACAddress
A MAC address, or a collection of multiple MAC addresses.
|