shared
Class Graph.NodeSorter

java.lang.Object
  |
  +--shared.Graph.NodeSorter
Enclosing class:
Graph

protected class Graph.NodeSorter
extends java.lang.Object
implements SortFunction

Sorter class for nodes.


Constructor Summary
protected Graph.NodeSorter()
           
 
Method Summary
 boolean is_less_than(java.lang.Object node1, java.lang.Object node2)
          Compares nodes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph.NodeSorter

protected Graph.NodeSorter()
Method Detail

is_less_than

public boolean is_less_than(java.lang.Object node1,
                            java.lang.Object node2)
Compares nodes.
Specified by:
is_less_than in interface SortFunction
Parameters:
node1 - First node compared.
node2 - Second node compared.
Returns:
Always false.