Interface ISort

All Known Implementing Classes:
SelectionSort

public interface ISort

Specifies the required behavior for a sort algorithm.


Method Summary
 String getName()
          Returns the name of this sort algorithm.
 void sort(Comparable[] anArray)
          Sorts the given array of objects.
 

Method Detail

getName

public String getName()
Returns the name of this sort algorithm.


sort

public void sort(Comparable[] anArray)
Sorts the given array of objects.

Parameters:
anArray - array of objects to sort