/* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. */ package abstractthing; /** * * @author levenick */ public class AbstractThing { /** * @param args the command line arguments */ public static void main(String[] args) { Bubble myBubble = new Bubble(); Merge myMerge = new Merge(); // myMerge.sort(); // myBubble.sort(); time(myBubble); time(myMerge); } private static void time(AbsSort aSort) { aSort.sort(); } }