All Packages Class Hierarchy This Package Previous Next Index
Class COM.taligent.util.SelectionSorter
java.lang.Object
|
+----COM.taligent.util.Sorter
|
+----COM.taligent.util.SelectionSorter
- public class SelectionSorter
- extends Sorter
This class extends Sorter to provide a sort function that uses
Selection Sort.
- Version:
- 1.0
- Author:
- Andy Clark, Taligent Inc.
- See Also:
- Comparator
-
SelectionSorter()
-
-
sort(Object[])
- Sorts incoming array of objects and returns the sorted indexes
of the original array.
SelectionSorter
public SelectionSorter()
sort
public int[] sort(Object array[])
- Sorts incoming array of objects and returns the sorted indexes
of the original array.
- Parameters:
- array - The array of strings to be sorted.
- Returns:
- Returns an array of sorted indexes of the original array.
- Overrides:
- sort in class Sorter
All Packages Class Hierarchy This Package Previous Next Index