public class IPv6AddressWithMask extends IPAddressWithMask<IPv6Address>
Modifier and Type | Field and Description |
---|---|
static IPv6AddressWithMask |
LINK_LOCAL_NETWORK
Represents the link-local network configuration used in practice,
i.e.
|
static IPv6AddressWithMask |
LINK_LOCAL_RESERVED
Contains all addresses reserved for link-local usages,
i.e.
|
static IPv6AddressWithMask |
NONE |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(IPAddress<?> ip) |
IPVersion |
getIpVersion() |
static IPv6AddressWithMask |
of(IPv6Address value,
IPv6Address mask) |
static IPv6AddressWithMask |
of(String string) |
getSubnetBroadcastAddress, isSubnetBroadcastAddress, toString
public static final IPv6AddressWithMask NONE
public static final IPv6AddressWithMask LINK_LOCAL_NETWORK
fe80::/64
.
See Section 2.5.6 of RFC 4291.
LINK_LOCAL_RESERVED
public static final IPv6AddressWithMask LINK_LOCAL_RESERVED
fe80::/10
.
See Section 2.4 of RFC 4291.
LINK_LOCAL_NETWORK
public IPVersion getIpVersion()
getIpVersion
in class IPAddressWithMask<IPv6Address>
public static IPv6AddressWithMask of(IPv6Address value, IPv6Address mask)
public static IPv6AddressWithMask of(String string)
public boolean contains(IPAddress<?> ip)
contains
in class IPAddressWithMask<IPv6Address>
Copyright © 2015. All rights reserved.