All Packages Class Hierarchy This Package Previous Next Index

Class org.jfouffa.util.Comparable

java.lang.Object
   |
   +----org.jfouffa.util.Comparable

public abstract class Comparable
extends Object
The comparable class for the SortAlgorithm class


Constructor index

 o Comparable()

Method index

 o compare(Object, Object)
The compare function

Constructors

 o Comparable
 public Comparable()

Methods

 o compare
 public abstract boolean compare(Object obj1,
                                 Object obj2)
The compare function

Parameters:
obj1 - object one
obj2 - object two
Returns:
true if object one and object two are equals.
See Also:
SortAlgorithm