
public class CIDR6 extends CIDR
baseAddress, cidrMask| Modifier | Constructor and Description |
|---|---|
protected |
CIDR6(Inet6Address newaddress,
int newmask) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(CIDR arg) |
boolean |
contains(InetAddress inetAddress)
Compares the given InetAddress against the CIDR and returns true if
the ip is in the subnet-ip-range and false if not.
|
InetAddress |
getEndAddress() |
equals, getBaseAddress, getIpV4FromIpV6, getIpV6FromIpV4, getMask, hashCode, newCIDR, newCIDR, newCIDR, toStringprotected CIDR6(Inet6Address newaddress, int newmask)
newaddress - newmask - public InetAddress getEndAddress()
getEndAddress in class CIDRpublic int compareTo(CIDR arg)
public boolean contains(InetAddress inetAddress)
CIDRCopyright © 2008-2013 The Netty Project. All Rights Reserved.