forked from JavaTX/JavaCompilerCore
23 lines
474 B
Plaintext
23 lines
474 B
Plaintext
class Sorting {
|
|
|
|
Sorting(){
|
|
super(());
|
|
}
|
|
TPH JNN merge(TPH JNO a, TPH JNP b){
|
|
a.addAll Signature: [TPH JNQ, TPH JNR](b);
|
|
return a;
|
|
}
|
|
|
|
TPH JNV sort(TPH JNW in){
|
|
TPH JNX firstHalf;
|
|
firstHalf = in;
|
|
TPH JNY secondHalf;
|
|
secondHalf = in;
|
|
return this.merge Signature: [TPH JOK, TPH JOL, TPH JOM](this.sort Signature: [TPH JOB, TPH JOC](firstHalf), this.sort Signature: [TPH JOG, TPH JOH](secondHalf));
|
|
}
|
|
|
|
Sorting(){
|
|
super(());
|
|
}
|
|
|
|
} |