Package sort.core
Interface Sorter<T>
- All Known Subinterfaces:
Quicksorter<T>
- All Known Implementing Classes:
InsertionSorter
,OutOfPlaceSorter
,ParallelMergeSorter
,ParallelQuicksorter
,ParallelQuicksorterJoinAtEveryLevel
,SequentialMergeSorter
,SequentialMergeToInsertionSorter
,SequentialQuicksorter
,SequentialQuickToInsertionSorter
public interface Sorter<T>
- Author:
- __STUDENT_NAME__, Dennis Cosgrove
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
sort
(T[] data, Comparator<T> comparator) void
sortRange
(T[] data, Comparator<T> comparator, int min, int maxExclusive)
-
Method Details
-
sort
default void sort(T[] data, Comparator<T> comparator) throws InterruptedException, ExecutionException -
sortRange
void sortRange(T[] data, Comparator<T> comparator, int min, int maxExclusive) throws InterruptedException, ExecutionException
-