Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Rhino is an open-source implementation of JavaScript written entirely in Java. It is typically
embedded into Java applications to provide scripting to end users.
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package org.mozilla.javascript;
import java.util.Comparator;
public final class Sorting {
private static final int SMALLSORT = 16;
private static final Sorting sorting = new Sorting();
private Sorting() {}
public static Sorting get() {
return sorting;
}
public void insertionSort(Object[] a, Comparator