org.apache.turbine.util
Interface Comparable

All Known Implementing Classes:
JobQueue

public interface Comparable

Used by quicksort.

Version:
$Id$
Author:
Dave Bryson

Method Summary
 int compare(java.lang.Object obj1, java.lang.Object obj2)
          Return the result of comparing two objects.
 

Method Detail

compare

public int compare(java.lang.Object obj1,
                   java.lang.Object obj2)
Return the result of comparing two objects.
Parameters:
obj1 - First object.
obj2 - Second object.
Returns:
An int.


Copyright © 1999-2001 Apache Software Foundation. All Rights Reserved.