Class FastQSort

java.lang.Object
dataAnalysis.sorting.FastQSort
All Implemented Interfaces:
SortAlgorithm

public class FastQSort extends Object implements SortAlgorithm
A quick sort algorithm.
  • Constructor Details

    • FastQSort

      public FastQSort()
  • Method Details

    • sort

      public void sort(double[] array)
      Description copied from interface: SortAlgorithm
      Sorts the provided array of data.
      Specified by:
      sort in interface SortAlgorithm
      Parameters:
      array - the array to sort