Class QuickSortAlgorithm


  • public class QuickSortAlgorithm
    extends Object
    • Method Detail

      • sort

        public void sort​(double[] values,
                         double[] valuesToFollow)
        Sorts an array of double values and moves with the sort a second array.
        Parameters:
        values - the array to sort.
        valuesToFollow - the array that should be sorted following the indexes of the first array. Can be null.
      • sort

        public void sort​(float[] values,
                         float[] valuesToFollow)
        Sorts an array of float values and moves with the sort a second array.
        Parameters:
        values - the array to sort.
        valuesToFollow - the array that should be sorted following the indexes of the first array. Can be null.
      • sort

        public void sort​(double[] values,
                         int[] valuesToFollow)