org.apache.turbine.util
Interface Comparable

All Known Implementing Classes:
JobQueue

public interface Comparable

Used by quicksort.

Version:
$Id: Comparable.java,v 1.1.1.1 2001/08/16 05:09:38 jvanzyl Exp $
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 © 2000-2002 Apache Software Foundation. All Rights Reserved.