All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface AU.net.plugged.sort.SortInterface

public interface SortInterface
Version: 0.1

Author: Chris Ryan

Company: Plugged In Software
P.O. Box 4130
St Lucia South
Brisbane Qld Australia 4067
http://www.plugged.net.au

Date: 09 September 1997

Purpose:
This class provides a callback mechanism for the Sort class for sorting objects in a vector.
Usage:
Modification


Method Index

 o compareTo(Object, Object)
Compares this object to the object passed.

Methods

 o compareTo
 public abstract int compareTo(Object compare_object,
                               Object flags)
Compares this object to the object passed. Returns 0 if they are equal, -1 if this object is less than passed object, and 1 if this object is greater than passed object.

Parameters:
compare_object - The object to compare to
flags - Any flags to use in the comparison test, may be null
Returns:
see above comment...

All Packages  Class Hierarchy  This Package  Previous  Next  Index