ORDER.java

public interface ORDER {

   // compare is supposed to return -1 if o is smaller than this, 1 
   // if greater and 0 if neither one is smaller. This may mean equality but
   // also not comparable.

   int compare(Object o);

}


On to COMPARER.java Part of Priority Queues mit Java
Andreas Podelski, Abdelwaheb Ayari, Hubert Baumeister
February 25, 1997

Imprint | Data Protection