01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
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: }
|