applications
Class EarlyTerminatingSelectionSort

java.lang.Object
  |
  +--applications.EarlyTerminatingSelectionSort

public class EarlyTerminatingSelectionSort
extends java.lang.Object


Constructor Summary
EarlyTerminatingSelectionSort()
           
 
Method Summary
static void main(java.lang.String[] args)
          test program
static void selectionSort(java.lang.Comparable[] a)
          sort the array a using the selection sort method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EarlyTerminatingSelectionSort

public EarlyTerminatingSelectionSort()
Method Detail

selectionSort

public static void selectionSort(java.lang.Comparable[] a)
sort the array a using the selection sort method

main

public static void main(java.lang.String[] args)
test program