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