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
-
Comparable()
-
Method index
-
compare(Object, Object)
- The compare function
Constructors
Comparable
public Comparable()
Methods
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