public class KernelAddress
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Tells if another kernel address is the same.
|
java.lang.String |
getNetworkID() |
int |
hashCode() |
java.lang.String |
toString()
Returns a simplified string representation for this platform address
|
public boolean equals(java.lang.Object obj)
true, this means that both addresses refer to
the same kernel, i.e. same MaDKit instance.equals in class java.lang.Objectjava.lang.ClassCastException - On purpose,
if the address is compared to an object with another type
which is considered as a programming error.java.lang.NullPointerException - On purpose,
if the address is compared to null
which is considered as a programming error.public int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String getNetworkID()
public java.lang.String toString()
toString in class java.lang.Object
Fabien Michel, Olivier Gutknecht, Jacques Ferber - November 18 2014