| Interface | Description |
|---|---|
| DriverInterface | |
| SortInterface<T extends java.lang.Comparable<? super T>> |
This interface will be used by various classes to sort an array
Integer objects. |
| TestTimesInterface |
This interface will be used to organize and manage test times that are measured for specific operations.
|
| Class | Description |
|---|---|
| Driver | |
| HeapSort<T extends java.lang.Comparable<? super T>> | |
| MergeSort<T extends java.lang.Comparable<? super T>> | |
| QuickSort<T extends java.lang.Comparable<? super T>> | |
| Test | |
| TestTimes |
| Enum | Description |
|---|---|
| DriverInterface.ArrayType |
This
enum is used to specify the type of Array. |
| DriverInterface.SortType |
This
enum is used to specify the desired sort algorithm:
MergeSort - Indicates the Merge Sort algorithm.
QuickSort - Indicates the Quick Sort algorithm.
HeapSort - Indicates the Heap Sort algorithm.
|
| QuickSort.PivotType |
This enum specifies the pivot type that QuickSort will use.
|
| TestTimesInterface.MemoryUnits |
Memory usage is measured in Bytes.
|
| TestTimesInterface.TimeUnits |
Run times are measured in Nano Seconds.
|