All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.css.util.QuickSortAlgorithm

java.lang.Object
   |
   +----org.w3c.css.util.SortAlgorithm
           |
           +----org.w3c.css.util.QuickSortAlgorithm

public class QuickSortAlgorithm
extends SortAlgorithm
The quicksort algorithm.


Constructor Index

 o QuickSortAlgorithm()

Method Index

 o sort(Object[], int, int, CompareFunction)
The quicksort function.

Constructors

 o QuickSortAlgorithm
 public QuickSortAlgorithm()

Methods

 o sort
 public void sort(Object objs[],
                  int start,
                  int end,
                  CompareFunction comp)
The quicksort 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
Overrides:
sort in class SortAlgorithm

All Packages  Class Hierarchy  This Package  Previous  Next  Index