Class ShearSortAlgorithm
- java.lang.Object
-
- org.hortonmachine.gears.utils.sorting.ShearSortAlgorithm
-
public class ShearSortAlgorithm extends Object
-
-
Constructor Summary
Constructors Constructor Description ShearSortAlgorithm()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(String[] args)voidparallelSort(double[] arrayToBeSorted, double[] arrayThatFollowsTheSort)Sorts two arrays regarding to the sort of the first
-
-
-
Method Detail
-
parallelSort
public void parallelSort(double[] arrayToBeSorted, double[] arrayThatFollowsTheSort) throws ExceptionSorts two arrays regarding to the sort of the first- Parameters:
arrayToBeSorted- the array on wich the sort is performedarrayThatFollowsTheSort- the array that is sorted following the others array sort. Can be null- Throws:
Exception
-
main
public static void main(String[] args)
-
-