Android Open Source - MergeSortBenchmark Mergesort






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

// Java Package mergesort is a proxy for talking to a Go program.
//   gobind -lang=java github.com/jcscottiii/mergesort_benchmark/mergesort
///*from  w  w  w. ja v a2 s. c  o  m*/
// File is generated by gobind. Do not edit.
package go.mergesort;

import go.Seq;

public abstract class Mergesort {
    private Mergesort() {} // uninstantiable
    
    public static long GoMergeSortEntry(long size, long ascending) {
        go.Seq _in = new go.Seq();
        go.Seq _out = new go.Seq();
        long _result;
        _in.writeInt(size);
        _in.writeInt(ascending);
        Seq.send(DESCRIPTOR, CALL_GoMergeSortEntry, _in, _out);
        _result = _out.readInt();
        return _result;
    }
    
    private static final int CALL_GoMergeSortEntry = 1;
    private static final String DESCRIPTOR = "mergesort";
}




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