Remove unnecessary method
This commit is contained in:
parent
3efdc088fc
commit
98ee51154b
|
@ -159,22 +159,4 @@ public class SortServer implements CommandExecutor {
|
||||||
return arg + " " + ex.getMessage();
|
return arg + " " + ex.getMessage();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void main(String[] args) {
|
|
||||||
SortServer sorter = new SortServer();
|
|
||||||
String sort;
|
|
||||||
sort = "BUBBLE RANDOM 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
sort = "SELECTION RANDOM 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
sort = "INSERTION RANDOM 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
|
|
||||||
sort = "BUBBLE ASC 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
sort = "SELECTION ASC 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
sort = "INSERTION ASC 10000";
|
|
||||||
System.out.println(sorter.execute(sort));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue