Opus5
Interface Sorter

All Known Implementing Classes:
AbstractSorter

public interface Sorter

A sorter is an abstract machine that sorts an array of comparable objects.

Version:
$Id: Sorter.java,v 3.1 1998/07/28 01:32:17 brpreiss Exp $
Author:
Bruno R. Preiss, P.Eng.
See Also:
Comparable

Field Summary
static java.lang.String copyright
           
 
Method Summary
 void sort(Comparable[] array)
          Sorts the specified array of comparable objects from "smallest" to "largest".
 

Field Detail

copyright

public static final java.lang.String copyright
Method Detail

sort

public void sort(Comparable[] array)
Sorts the specified array of comparable objects from "smallest" to "largest".
Parameters:
array - The array of objects to be sorted.