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, toString
protected CIDR6(Inet6Address newaddress, int newmask)
newaddress
- newmask
- public InetAddress getEndAddress()
getEndAddress
in class CIDR
public int compareTo(CIDR arg)
public boolean contains(InetAddress inetAddress)
CIDR
Copyright © 2008-2013 The Netty Project. All Rights Reserved.