1 package org.apache.turbine.util;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 /***
20 * Used by quicksort.
21 *
22 * @author <a href="mailto:mbryson@mindspring.com">Dave Bryson</a>
23 * @version $Id: Comparable.java 264148 2005-08-29 14:21:04Z henning $
24 * @deprecated This class will be removed after the 2.3 release. It is
25 * not part of the Web Framework scope. If you need it, please
26 * use a sorting library for quicksort.
27 */
28 public interface Comparable
29 {
30 /***
31 * Return the result of comparing two objects.
32 *
33 * @param obj1 First object.
34 * @param obj2 Second object.
35 * @return An int.
36 */
37 int compare(Object obj1,
38 Object obj2);
39 }