Class org.jfouffa.util.SortAlgorithm
java.lang.Object
|
+----org.jfouffa.util.SortAlgorithm
- public abstract class SortAlgorithm
- extends Object
This class is only to sort an array with an abstract algorithm.
Constructor index
-
SortAlgorithm()
-
Method index
-
sort(Object[], int, int, Comparable)
- The sort function.
Constructors
SortAlgorithm
public SortAlgorithm()
Methods
sort
public abstract void sort(Object objs[],
int start,
int end,
Comparable comp)
- The sort function.
- Parameters:
- objs - the array with all objects
- start - the start offset in the array
- end - the end offset in the array
- comp - The comparaison function between objects