Class SortIntegers
- public class SortIntegers
Class for testing Sorter with Integer objects.
Demonstrates relation between input size and number of comparisons and
swaps.
(See source code at
SortIntegers.java.)
| Method Summary |
static void | main(String[] args) Tests sort and search methods with randomly-generated Integer objects. |
main
public static void main(String[] args)
- Tests sort and search methods with randomly-generated Integer objects.
- Parameters:
- args command-line arguments -- number of Integer objects to
create, (optionally) "print" to print data