class TopologyInstance.NodeDist extends java.lang.Object implements java.lang.Comparable<TopologyInstance.NodeDist>
Modifier and Type | Field and Description |
---|---|
private int |
dist |
private java.lang.Long |
node |
Constructor and Description |
---|
TopologyInstance.NodeDist(java.lang.Long node,
int dist) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TopologyInstance.NodeDist o) |
int |
getDist() |
java.lang.Long |
getNode() |
public TopologyInstance.NodeDist(java.lang.Long node, int dist)
public java.lang.Long getNode()
public int getDist()
public int compareTo(TopologyInstance.NodeDist o)
compareTo
in interface java.lang.Comparable<TopologyInstance.NodeDist>