applications
Class InsertionSort1

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

public class InsertionSort1
extends java.lang.Object


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

Constructor Detail

InsertionSort1

public InsertionSort1()
Method Detail

insertionSort

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

main

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