Modifier and Type | Field and Description |
---|---|
static IPv6Address |
IPv6Address.LOCALHOST
An IPv6 address object for localhost,
::1 . |
static IPv6Address |
IPv6Address.MAX_VALUE
The maximum IPv6 address object,
ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff . |
static IPv6Address |
IPv6Address.MIN_VALUE
The minimum IPv6 address object,
:: . |
Modifier and Type | Method and Description |
---|---|
IPv6Address |
IPv6Address.next() |
IPv6Address |
IPv6Address.previous() |
IPv6Address |
IPv4Address.toIPv6()
Returns an IPv6 representation of this IPv4 address.
|
static IPv6Address |
IPv6Address.valueOf(byte[] address)
Returns an IPv6 address from a byte array representation of the address.
|
static IPv6Address |
IPv6Address.valueOf(CharSequence address)
Returns an IPv6 address represented by a
CharSequence . |
static IPv6Address |
IPv6Address.valueOf(CharSequence address,
int start,
int end)
Returns an IPv6 address represented by a portion of a
CharSequence . |
static IPv6Address |
IPv6Address.valueOf(Inet6Address address)
Returns an IPv6 address represented by a
Inet6Address . |
static IPv6Address |
IPv6Address.valueOf(int hextet1,
int hextet2,
int hextet3,
int hextet4,
int hextet5,
int hextet6,
int hextet7,
int hextet8)
Returns an IPv6 address from eight hextets.
|
Modifier and Type | Method and Description |
---|---|
static IPAddressFormatter.Builder<IPv6Address> |
IPAddressFormatter.ipv6()
Returns a new builder for formatters for printing and parsing IPv6 addresses.
|
static IPAddressFormatter<IPv6Address> |
IPAddressFormatter.ipv6WithDefaults()
Returns a formatter for printing and parsing IPv6 addresses.
|
Spliterator<IPv6Address> |
IPv6Subnet.spliterator() |
Spliterator<IPv6Address> |
AbstractIPv6Range.spliterator() |
static Optional<IPv6Address> |
IPv6Address.tryValueOfIPv6(CharSequence address)
Attempts to return an IPv6 address represented by a
CharSequence . |
static Optional<IPv6Address> |
IPv6Address.tryValueOfIPv6(CharSequence address,
int start,
int end)
Attempts to return an IPv6 address represented by a portion of a
CharSequence . |
Modifier and Type | Method and Description |
---|---|
int |
IPv6Address.compareTo(IPv6Address other) |
IPv6Range |
IPv6Address.to(IPv6Address end) |
static IPv6Subnet |
IPv6Subnet.valueOf(IPv6Address routingPrefix,
int prefixLength)
Returns an IPv6 subnet represented by a routing prefix and a prefix length.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<CharSequence> |
IPv6Address.ifValidIPv6Address(Predicate<? super IPv6Address> predicate)
Returns a predicate that checks whether or not
CharSequence s are valid IPv6 addresses that match a specific predicate. |
Constructor and Description |
---|
IPv6RangeSpliterator(IPRange<IPv6Address> range)
Creates a new spliterator.
|
Copyright © 2019–2023. All rights reserved.