Package | Description |
---|---|
inet.ipaddr | |
inet.ipaddr.ipv4 | |
inet.ipaddr.ipv6 | |
inet.ipaddr.mac |
Modifier and Type | Interface and Description |
---|---|
interface |
AddressSection |
interface |
AddressSegment
This 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.
|
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.
|
class |
IPAddressSegment
This represents a single segment of an IP address.
|
Modifier and Type | Method and Description |
---|---|
AddressComponent |
AddressComponent.getLower()
If this instance represents multiple address components, returns the one with the lowest numeric value.
|
AddressComponent |
AddressComponent.getUpper()
If this instance represents multiple address components, returns the one with the highest numeric value.
|
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 |
---|---|
java.lang.Iterable<? extends AddressComponent> |
AddressComponent.getIterable()
Useful for using an instance in a "for-each loop".
|
java.util.Iterator<? extends AddressComponent> |
AddressComponent.iterator()
An address component can represent a single segment, address, or section, or it can represent multiple,
typically a subnet or range of segment, address, or section values.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv4Address
An IPv4 address, or a subnet of multiple IPv4 addresses.
|
class |
IPv4AddressSection |
class |
IPv4AddressSegment
This represents a segment of an IP address.
|
Modifier and Type | Class and Description |
---|---|
class |
IPv6Address
An IPv6 address, or a subnet of multiple IPv6 addresses.
|
class |
IPv6AddressSection |
class |
IPv6AddressSegment
This represents a segment of an IP address.
|
Modifier and Type | Class and Description |
---|---|
class |
MACAddress |
class |
MACAddressSection |
class |
MACAddressSegment |