net.floodlightcontroller.topology
Class TopologyInstance.NodeDist

java.lang.Object
  extended by net.floodlightcontroller.topology.TopologyInstance.NodeDist
All Implemented Interfaces:
java.lang.Comparable<TopologyInstance.NodeDist>
Enclosing class:
TopologyInstance

protected class TopologyInstance.NodeDist
extends java.lang.Object
implements java.lang.Comparable<TopologyInstance.NodeDist>


Constructor Summary
TopologyInstance.NodeDist(java.lang.Long node, int dist)
           
 
Method Summary
 int compareTo(TopologyInstance.NodeDist o)
           
 boolean equals(java.lang.Object obj)
           
 int getDist()
           
 java.lang.Long getNode()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TopologyInstance.NodeDist

public TopologyInstance.NodeDist(java.lang.Long node,
                                 int dist)
Method Detail

getNode

public java.lang.Long getNode()

getDist

public int getDist()

compareTo

public int compareTo(TopologyInstance.NodeDist o)
Specified by:
compareTo in interface java.lang.Comparable<TopologyInstance.NodeDist>

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object