|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.james.util.inetnetwork.model.Inet6Network
public class Inet6Network
| Constructor Summary | |
|---|---|
Inet6Network(java.net.InetAddress ip,
java.lang.Integer netmask)
You need a IP address (InetAddress) and an subnetmask (Integer) to construct an Inet6Network. |
|
| Method Summary | |
|---|---|
boolean |
contains(java.net.InetAddress ip)
Return true if the network contains the given name |
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
Return hashCode representation of this class |
java.lang.String |
toString()
Return String representation of this class. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Inet6Network(java.net.InetAddress ip,
java.lang.Integer netmask)
ip - the InetAddress to init the classnetmask - the InetAddress represent the netmask to init the class| Method Detail |
|---|
public boolean contains(java.net.InetAddress ip)
InetNetwork
contains in interface InetNetworkpublic java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectObject.equals(java.lang.Object)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||