Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 | |
inet.ipaddr.mac |
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 |
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)
Applies the given prefix length to create a new segment series.
|
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
If this represents a series with a single value in each segment, returns this.
|
AddressSegmentSeries |
AddressSegmentSeries.increment(long increment)
Returns the series from the subnet that is the given increment upwards into the subnet range,
or if the given increment is negative the given increment downwards into the subnet range,
or if this is just an individual series, it simply adds the increment to this.
|
AddressSegmentSeries |
AddressSegmentSeries.removePrefixLength()
Removes the prefix length.
|
AddressSegmentSeries |
AddressSegmentSeries.removePrefixLength(boolean zeroed)
Removes the prefix length.
|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<? extends AddressSegmentSeries> |
AddressSegmentSeries.getIterable() |
java.util.Iterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.iterator()
Iterates through the individual segment series.
|
java.util.Iterator<? extends AddressSegmentSeries> |
AddressSegmentSeries.prefixBlockIterator()
Iterates through the individual prefix blocks.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
class |
IPv4AddressSection |
Modifier and Type | Class and Description |
---|---|
class |
IPv6Address
An IPv6 address, or a subnet of multiple IPv6 addresses.
|
class |
IPv6AddressSection |
Modifier and Type | Class and Description |
---|---|
class |
MACAddress
A MAC address, or a collection of multiple MAC addresses.
|
class |
MACAddressSection |