All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sound.musicg.math.quicksort.QuickSortIndexPreserved Maven / Gradle / Ivy

There is a newer version: 6.0.0
Show newest version
package sound.musicg.math.quicksort;
public class QuickSortIndexPreserved {
	
	private QuickSort quickSort;
	
	public QuickSortIndexPreserved(int[] array){
		quickSort=new QuickSortInteger(array);
	}
	
	public QuickSortIndexPreserved(double[] array){
		quickSort=new QuickSortDouble(array);
	}
	
	public QuickSortIndexPreserved(short[] array){
		quickSort=new QuickSortShort(array);
	}
	
	public int[] getSortIndexes(){
		return quickSort.getSortIndexes();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy