shared
Class GraphMap.ArrayOrd

java.lang.Object
  |
  +--shared.GraphMap.ArrayOrd
Enclosing class:
GraphMap

protected class GraphMap.ArrayOrd
extends java.lang.Object
implements OrderingFunction


Constructor Summary
protected GraphMap.ArrayOrd()
           
 
Method Summary
 int order(java.lang.Object the_item)
          The order function should return an index value for the object it recieves as a parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphMap.ArrayOrd

protected GraphMap.ArrayOrd()
Method Detail

order

public int order(java.lang.Object the_item)
Description copied from interface: OrderingFunction
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.
Specified by:
order in interface OrderingFunction
Tags copied from interface: OrderingFunction
Parameters:
item - The item to be sorted into place.
Returns:
The index value of the item sorted.