public class Inet6Network extends Object implements InetNetwork
| Constructor and Description | 
|---|
Inet6Network(InetAddress ip,
            Integer netmask)
You need a IP address (InetAddress) and an subnetmask (Integer) to
 construct an Inet6Network. 
 | 
public Inet6Network(InetAddress ip, Integer netmask)
ip - the InetAddress to init the classnetmask - the InetAddress represent the netmask to init the classpublic boolean contains(InetAddress ip)
InetNetworkcontains in interface InetNetworkip - hostname or ipAddressInetNetwork.contains(InetAddress)public String toString()
public int hashCode()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.