/** *
* InsertionSort.java * * Revisions: 1.0 Nov. 04, 2002 * Created the InsertionSort class * 1.1 Nov. 07, 2002 * Compiled, Commented, Finished * ** * Collaboration Statement: * I worked on the homework assignment alone, using only * course materials. * * Created with JCreatorLE, some indents are off when viewed through notepad * or EMACS * * @author Jose Manuel Caban * @version Version 1.1, Nov. 07, 2002 */ public class InsertionSort extends AbstractSort{ //////////////// //Constructors// //////////////// /** *Constructor for InsertionSort *@param arrayWrap, the array to be sorted */ public InsertionSort(ArrayWrapper arrayWrap){ super(arrayWrap); } /////////// //Methods// /////////// /** *Sort the Array */ public void doSort(){ for(int i=1; i