import java.io.IOException; /** * Insertion sort class. * @author cs416 * @version 1 */ public class SampleInsertionSort extends SampleSort { /** * Constructor. * @param fileName The data file to open and sort */ public SampleInsertionSort(String fileName) throws IOException { super(fileName); } /** * sort function performs an InsertionSort. */ @Override public void sort() { throw new UnsupportedOperationException("TO BE IMPLEMENTED"); } /** * main function for simple testing. * @param args Command line arguments */ public static void main(String[] args) { try { SampleSort b = new SampleInsertionSort("data.csv"); b.sort(); System.out.println(b); } catch (IOException e) { System.err.println(e); } } }