applications
Class InsertionSort2

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

public class InsertionSort2
extends java.lang.Object


Constructor Summary
InsertionSort2()
           
 
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

InsertionSort2

public InsertionSort2()
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