Package | Description |
---|---|
inet.ipaddr |
Base classes for IP addresses and generic addresses.
|
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 | Interface and Description |
---|---|
interface |
AddressSection |
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.
|
Modifier and Type | Method and Description |
---|---|
AddressSegmentSeries |
AddressSegmentSeries.adjustPrefixBySegment(boolean nextSegment)
Increases or decreases prefix length to the next segment boundary.
|
AddressSegmentSeries |
AddressSegmentSeries.adjustPrefixBySegment(boolean nextSegment,
boolean zeroed)
Increases or decreases prefix length to the next segment boundary.
|
AddressSegmentSeries |
AddressSegmentSeries.adjustPrefixLength(int adjustment)
Increases or decreases prefix length by the given increment.
|
AddressSegmentSeries |
AddressSegmentSeries.adjustPrefixLength(int adjustment,
boolean zeroed)
Increases or decreases prefix length by the given increment.
|
AddressSegmentSeries |
AddressSegmentSeries.applyPrefixLength(int prefixLength)
Deprecated.
use #setPrefixLength(int)
|
AddressSegmentSeries |
AddressSegmentSeries.getLower()
If this represents a series with ranging values, returns a series representing the lower values of the range.
|
AddressSegmentSeries |
AddressSegmentSeries.getUpper()
If this represents a series with ranging values, returns a series representing the upper values of the range.
|
AddressSegmentSeries |
AddressSegmentSeries.increment(long increment)
Returns the series from the subnet that is the given increment upwards into the subnet range, with the increment of 0
returning the first address in the range.
|
AddressSegmentSeries |
AddressSegmentSeries.incrementBoundary(long increment)
If the given increment is positive, adds the value to the upper series (
getUpper() ) in the subnet range to produce a new series. |
AddressSegmentSeries |
AddressSegmentSeries.removePrefixLength()
Deprecated.
to remove the prefix length, use
withoutPrefixLength() ,
to remove the prefix length and zero out the bits beyond the prefix, use adjustPrefixLength(int)
with AddressDivisionSeries.getBitCount() as the argument, as in adjustPrefixLength(getBitCount()) |
AddressSegmentSeries |
AddressSegmentSeries.removePrefixLength(boolean zeroed)
Deprecated.
|
AddressSegmentSeries |
AddressSegmentSeries.reverseBits(boolean perByte)
Returns a new segment series with the bits reversed.
|
AddressSegmentSeries |
AddressSegmentSeries.reverseBytes()
Returns a new segment series with the bytes reversed.
|
AddressSegmentSeries |
AddressSegmentSeries.reverseBytesPerSegment()
Returns a new segment series with the bytes reversed within each segment.
|
AddressSegmentSeries |
AddressSegmentSeries.reverseSegments()
Returns a new segment series with the segments reversed.
|
AddressSegmentSeries |
AddressSegmentSeries.setPrefixLength(int prefixLength)
Sets the prefix length.
|
AddressSegmentSeries |
AddressSegmentSeries.setPrefixLength(int prefixLength,
boolean zeroed)
Sets the prefix length.
|
AddressSegmentSeries |
AddressSegmentSeries.toPrefixBlock()
If this series has a prefix length, returns the block for that prefix.
|
AddressSegmentSeries |
AddressSegmentSeries.withoutPrefixLength()
Provides the same address with no prefix.
|
Modifier and Type | Method and Description |
---|---|
Iterable<? extends AddressSegmentSeries> |
AddressSegmentSeries.getIterable() |
Iterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.iterator() |
Iterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixBlockIterator()
Iterates through the individual prefix blocks.
|
AddressComponentSpliterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixBlockSpliterator()
Partitions and traverses through the individual prefix blocks for the prefix length of this series.
|
Stream<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixBlockStream()
Returns a sequential stream of the individual prefix blocks for the prefix length of this series.
|
Iterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixIterator()
Iterates through the individual prefixes.
|
AddressComponentSpliterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixSpliterator()
Partitions and traverses through the individual prefixes for the prefix length of this series.
|
Stream<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixStream()
Returns a sequential stream of the individual prefixes for the prefix length of this series.
|
AddressComponentRangeSpliterator<? extends AddressSegmentSeries,? extends AddressSegment[]> |
AddressSegmentSeries.segmentsSpliterator()
Partitions and traverses through the individual segment arrays.
|
AddressComponentSpliterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.spliterator() |
Stream<? extends AddressSegmentSeries> |
AddressSegmentSeries.stream() |
Modifier and Type | Method and Description |
---|---|
static <E extends AddressSegmentSeries> |
Partition.partitionWithSingleBlockSize(E newAddr)
Partitions the address series into prefix blocks and single addresses.
|
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.
|
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.
|
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.
|