Package sort.insertion.group
Class InsertionSorter<T>
java.lang.Object
sort.insertion.group.InsertionSorter<T>
- All Implemented Interfaces:
Sorter<T>
- Author:
- __STUDENT_NAME__, 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
-
InsertionSorter
public InsertionSorter()
-
-
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
-