org.apache.turbine.util
Interface Comparable


Deprecated. This class will be removed after the 2.3 release. It is not part of the Web Framework scope. If you need it, please use a sorting library for quicksort.

public interface Comparable

Used by quicksort.

Version:
$Id: Comparable.java 264148 2005-08-29 14:21:04Z henning $
Author:
Dave Bryson

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

Method Detail

compare

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

Parameters:
obj1 - First object.
obj2 - Second object.
Returns:
An int.


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.