public class NodeStatus extends java.lang.Object implements java.lang.Comparable<NodeStatus>
Modifier and Type | Method and Description |
---|---|
int |
compareTo(NodeStatus other) |
boolean |
equals(java.lang.Object o) |
int |
getDistanceToTarget()
Returns the distance to the orb from the Node that corresponds to
this NodeStatus.
|
long |
getId()
Returns the Id of the Node that corresponds to this NodeStatus.
|
int |
hashCode() |
public long getId()
public int getDistanceToTarget()
public int compareTo(NodeStatus other)
compareTo
in interface java.lang.Comparable<NodeStatus>
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object