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.ipv4 |
Classes for IPv4
|
inet.ipaddr.ipv6 |
Classes for IPv6
|
inet.ipaddr.mac |
Classes for MAC addresses.
|
Modifier and Type | Interface and Description |
---|---|
interface |
AddressSection |
interface |
AddressSegment
Represents a single segment of an address.
|
interface |
AddressSegmentSeries
Represents a series of address segments, each of equal byte size, the byte size being a whole number of bytes.
|
interface |
IPAddressSegmentSeries
Represents a series of IP address segments.
|
Modifier and Type | Class and Description |
---|---|
class |
Address
An address, or a collection of multiple addresses.
|
class |
IPAddress
A single IP address, or a subnet of multiple addresses.
|
class |
IPAddressSection
A section of an IPAddress.
|
class |
IPAddressSegment
This represents a single segment of an IP address.
|
Modifier and Type | Method and Description |
---|---|
AddressComponent |
AddressComponent.reverseBits(boolean perByte)
Returns a new AddressComponent with the bits reversed.
|
AddressComponent |
AddressComponent.reverseBytes()
Returns an AddressComponent with the bytes reversed.
|
Modifier and Type | Method and Description |
---|---|
AddressComponentSpliterator<? extends AddressComponent> |
AddressComponent.spliterator() |
Modifier and Type | Method and Description |
---|---|
static <T extends AddressComponent> |
AddressComponentRange.stream(Function<T,Stream<? extends T>> addrStreamFunc,
Collection<? extends T> components)
Given a list of components, and a lambda that returns a stream for that component type,
returns a sequential combined stream produced by applying that lambda to all the components.
|
static <T extends AddressComponent> |
AddressComponentRange.stream(Function<T,Stream<? extends T>> addrStreamFunc,
T... components)
Given a list of components, and a lambda that returns a stream for that component type,
returns a combined stream produced by applying that lambda to all the components.
|
Modifier and Type | Method and Description |
---|---|
AddressComponent |
AddressComponentRange.getLower()
If this instance represents multiple address items, returns the one with the lowest numeric value.
|
AddressComponent |
AddressComponentRange.getUpper()
If this instance represents multiple address items, returns the one with the highest numeric value.
|
Modifier and Type | Method and Description |
---|---|
Iterable<? extends AddressComponent> |
AddressComponentRange.getIterable()
Useful for using an instance in a "for-each loop".
|
Iterator<? extends AddressComponent> |
AddressComponentRange.iterator()
Iterates through the individual address components.
|
AddressComponentRangeSpliterator<? extends AddressComponentRange,? extends AddressComponent> |
AddressComponentRange.spliterator()
Partitions and traverses through the individual address components.
|
Stream<? extends AddressComponent> |
AddressComponentRange.stream()
Returns a sequential stream of the individual address components.
|
Modifier and Type | Method and Description |
---|---|
static <T extends AddressComponent> |
AddressComponentRange.stream(Function<T,Stream<? extends T>> addrStreamFunc,
T... components)
Given a list of components, and a lambda that returns a stream for that component type,
returns a combined stream produced by applying that lambda to all the components.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
class |
IPv4AddressSection
A section of an IPv4Address.
|
class |
IPv4AddressSegment
This represents a segment of an IPv4 address.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv6Address
An IPv6 address, or a subnet of multiple IPv6 addresses.
|
class |
IPv6AddressSection
A section of an IPv6Address.
|
class |
IPv6AddressSegment
This represents a segment of an IPv6 address.
|
Modifier and Type | Class and Description |
---|---|
class |
MACAddress
A MAC address, or a collection of multiple MAC addresses.
|
class |
MACAddressSection
A section of a MACAddress.
|
class |
MACAddressSegment
Represents a segment of a MAC address.
|