//
// $Id$
// From Philippe Le Hegaret (Philippe.Le_Hegaret@sophia.inria.fr)
//
// (c) COPYRIGHT MIT and INRIA, 1997.
// Please first read the full copyright statement in file COPYRIGHT.html
/*
 * $Log$
 */
package org.w3c.css.util;

/**
 * This class is only to sort an array with an abstract algorithm.
 *
 * @version $Revision$
 * @author  Philippe Le Hégaret
 */
public abstract class SortAlgorithm {

    /**
     * The sort function.
     *
     * @param objs the array with all objects
     * @param start the start offset in the array
     * @param end the end offset in the array
     * @param comp The comparaison function between objects
     */    
    public abstract void sort(Object[] objs,
			      int start, int end, 
			      CompareFunction comp);
}
