Android Open Source - MergeSortBenchmark I Merge Sortable






From Project

Back to project page MergeSortBenchmark.

License

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.

Java Source Code

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();
}




Java Source Code List

go.Go.java
go.Seq.java
go.mergesort.Mergesort.java
io.jamescscott.mergesortbenchmark.ApplicationTest.java
io.jamescscott.mergesortbenchmark.CMergeSort.java
io.jamescscott.mergesortbenchmark.GoMergeSort.java
io.jamescscott.mergesortbenchmark.IMergeSortable.java
io.jamescscott.mergesortbenchmark.JavaMergeSort.java
io.jamescscott.mergesortbenchmark.MainActivity.java
io.jamescscott.mergesortbenchmark.MergeSortBenchmarkController.java
io.jamescscott.mergesortbenchmark.MergeSortBenchmarkData.java