Back to project page MergeSortBenchmark.
The source code is released under:
MIT License
If you think the Android project MergeSortBenchmark listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package io.jamescscott.mergesortbenchmark; /*from w w w .j a va2 s . c o m*/ /** * Created by jamescscott on 11/23/14. */ import java.util.Random; public class CMergeSort implements IMergeSortable { private static native int[] CMergeSortFn(int[] array, int size, boolean ascending); @Override public long MergeSortEntry(int size, int ascending, int[] randomArray) { //return CMergeSortFn(array, array.length, ascending); return 0; } @Override public String getSortLanguage() { return "C"; } }