KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mmbase > util > Sortable


1 /*
2
3 This software is OSI Certified Open Source Software.
4 OSI Certified is a certification mark of the Open Source Initiative.
5
6 The license (Mozilla version 1.0) can be read at the MMBase site.
7 See http://www.MMBase.org/license
8
9 */

10 package org.mmbase.util;
11
12 /**
13  * Interface to sort objects.
14  * @see org.mmbase.util.SortedVector
15  *
16  * @deprecated I think this is the same as java.util.Comparable
17  * @author Rico Jansen
18  * @version $Id: Sortable.java,v 1.7 2004/09/30 16:08:39 pierre Exp $
19  */

20 public interface Sortable {
21
22     /**
23      * The compare function called by SortedVector to sort things
24      * @see org.mmbase.util.SortedVector
25      */

26     public abstract int compare(Sortable other);
27 }
28
Popular Tags