Package tnx.lab.executor
Class XSequentialQuicksorter<T>
java.lang.Object
tnx.lab.executor.XSequentialQuicksorter<T>
- All Implemented Interfaces:
Sorter<T>
- Author:
- __STUDENT_NAME__, Finn Voichick, Dennis Cosgrove (http://www.cse.wustl.edu/~cosgroved/)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsortRange(T[] data, Comparator<T> comparator, int min, int maxExclusive)
-
Constructor Details
-
XSequentialQuicksorter
-
-
Method Details
-
isParallel
public boolean isParallel()- Specified by:
isParallelin interfaceSorter<T>
-
sortRange
public void sortRange(T[] data, Comparator<T> comparator, int min, int maxExclusive) throws InterruptedException, ExecutionException- Specified by:
sortRangein interfaceSorter<T>- Throws:
InterruptedExceptionExecutionException
-