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; /* w w w . j a va 2 s . c om*/ import java.util.Random; /** * Created by jamescscott on 11/23/14. */ public interface IMergeSortable { // TODO: use this prototype when they enable passing boolean and arrays between go and java. // public int[] MergeSortEntry(int[] randomArray, boolean ascending); public long MergeSortEntry(int size, int ascending, int[] randomArray); public String getSortLanguage(); }