Modifier and Type | Field and Description |
---|---|
static IPv4Address |
IPv4Address.LOCALHOST
An IPv4 address object for localhost,
127.0.0.1 . |
static IPv4Address |
IPv4Address.MAX_VALUE
The maximum IPv4 address object,
255.255.255.255 . |
static IPv4Address |
IPv4Address.MIN_VALUE
The minimum IPv4 address object,
0.0.0.0 . |
Modifier and Type | Method and Description |
---|---|
static IPv4Address |
IPv4Address.getNetmask(int prefixLength)
Returns an IPv4 address for a specific net mask.
|
IPv4Address |
IPv4Address.next() |
IPv4Address |
IPv4Address.previous() |
IPv4Address |
IPv6Address.toIPv4()
Returns an IPv4 representation of this IPv6 address if it is an IPv4 mapped address.
|
static IPv4Address |
IPv4Address.valueOf(byte[] address)
Returns an IPv4 address from a byte array representation of the address.
|
static IPv4Address |
IPv4Address.valueOf(CharSequence address)
Returns an IPv4 address represented by a
CharSequence . |
static IPv4Address |
IPv4Address.valueOf(CharSequence address,
int start,
int end)
Returns an IPv4 address represented by a portion of a
CharSequence . |
static IPv4Address |
IPv4Address.valueOf(Inet4Address address)
Returns an IPv4 address represented by a
Inet4Address . |
static IPv4Address |
IPv4Address.valueOf(int octet1,
int octet2,
int octet3,
int octet4)
Returns an IPv4 address from four octets.
|
Modifier and Type | Method and Description |
---|---|
static IPAddressFormatter<IPv4Address> |
IPAddressFormatter.ipv4()
Returns a formatter for printing and parsing IPv4 addresses.
|
Spliterator<IPv4Address> |
AbstractIPv4Range.spliterator() |
Spliterator<IPv4Address> |
IPv4Subnet.spliterator() |
static Optional<IPv4Address> |
IPv4Address.tryValueOfIPv4(CharSequence address)
Attempts to return an IPv4 address represented by a
CharSequence . |
static Optional<IPv4Address> |
IPv4Address.tryValueOfIPv4(CharSequence address,
int start,
int end)
Attempts to return an IPv4 address represented by a portion of a
CharSequence . |
Modifier and Type | Method and Description |
---|---|
int |
IPv4Address.compareTo(IPv4Address other) |
IPv4Range |
IPv4Address.to(IPv4Address end) |
static IPv4Subnet |
IPv4Subnet.valueOf(IPv4Address routingPrefix,
int prefixLength)
Returns an IPv4 subnet represented by a routing prefix and a prefix length.
|
static IPv4Subnet |
IPv4Subnet.valueOf(IPv4Address routingPrefix,
IPv4Address netmask)
Returns an IPv4 subnet represented by a routing prefix and a netmask.
|
Modifier and Type | Method and Description |
---|---|
static Predicate<CharSequence> |
IPv4Address.ifValidIPv4Address(Predicate<? super IPv4Address> predicate)
Returns a predicate that checks whether or not
CharSequence s are valid IPv4 addresses that match a specific predicate. |
Constructor and Description |
---|
IPv4RangeSpliterator(IPRange<IPv4Address> range)
Creates a new spliterator.
|
Copyright © 2019–2023. All rights reserved.