shared
Interface OrderingFunction

All Known Implementing Classes:
Graph.Orderer, Graph.MapEdgeOrd1, Graph.MapEdgeOrd2, GraphMap.ArrayOrd

public interface OrderingFunction

The interface for classes using an ordering function for sorting various lists in the Graph class.


Method Summary
 int order(java.lang.Object item)
          The order function should return an index value for the object it recieves as a parameter.
 

Method Detail

order

public int order(java.lang.Object item)
The order function should return an index value for the object it recieves as a parameter. This index value is then used to determine its correct position in the list when the list is bucket sorted.
Parameters:
item - The item to be sorted into place.
Returns:
The index value of the item sorted.