Modifier and Type | Method and Description |
---|---|
IPv6Subnet |
IPv6Address.inSubnet(int prefixLength) |
static IPv6Subnet |
IPv6Subnet.valueOf(CharSequence cidrNotation)
Returns an IPv6 subnet represented by a CIDR notation.
|
static IPv6Subnet |
IPv6Subnet.valueOf(CharSequence routingPrefix,
int prefixLength)
Returns an IPv6 subnet represented by a routing prefix and a prefix length.
|
static IPv6Subnet |
IPv6Subnet.valueOf(CharSequence cidrNotation,
int start,
int end)
Returns an IPv6 subnet represented by a CIDR notation.
|
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 Optional<IPv6Subnet> |
IPv6Subnet.tryValueOfIPv6(CharSequence cidrNotation)
Attempts to return an IPv6 subnet represented by a
CharSequence . |
static Optional<IPv6Subnet> |
IPv6Subnet.tryValueOfIPv6(CharSequence cidrNotation,
int start,
int end)
Attempts to return an IPv6 subnet represented by a portion of a
CharSequence . |
Copyright © 2019–2023. All rights reserved.