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.

See Also:
Comparator

Constructor Index

 o SelectionSorter()

Method Index

 o sort(Object[])
Sorts incoming array of objects and returns the sorted indexes of the original array.

Constructors

 o SelectionSorter
 public SelectionSorter()

Methods

 o 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