mirror of
https://github.com/octoleo/plantuml.git
synced 2024-06-10 20:22:26 +00:00
23 lines
495 B
Java
23 lines
495 B
Java
package ext.plantuml.com.ctreber.aclib.sort;
|
|
|
|
import java.util.Comparator;
|
|
|
|
/**
|
|
* <p>Teehee - found that Comparator allready exists.
|
|
*
|
|
* © 2002 Christian Treber, ct@ctreber.com
|
|
* @author Christian Treber, ct@ctreber.com
|
|
*
|
|
*/
|
|
abstract public class CTSort
|
|
{
|
|
// ::remove folder when __HAXE__
|
|
// ::remove folder when __CORE__
|
|
public void sort(Object[] items)
|
|
{
|
|
sort(items, new DefaultComparator());
|
|
}
|
|
|
|
abstract public void sort(Object[] items, Comparator comparator);
|
|
}
|