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 voidmain(String[] args)
          Tests sort and search methods with randomly-generated Integer objects.

Method Detail

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