Interface jclass.util.JCSortInterface
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface jclass.util.JCSortInterface

public interface JCSortInterface
extends Object
JCSortInterface defines the interface for sorting, used by sortByColumn(). It provides a similar functionality to the compare function in qsort.
See Also:
sortByColumn

Method Index

 o compare(Object, Object)
Called by sortByColumn during sorting.

Methods

 o compare
  public abstract boolean compare(Object object1,
                                  Object object2)
Called by sortByColumn during sorting.
Parameters:
object1,object2 - the objects to be compared
Returns:
true if object1 is greater than object2

All Packages  Class Hierarchy  This Package  Previous  Next  Index