expose double array sort function in Basket.Array
authorcrawshaw <crawshaw@ibex.org>
Fri, 7 Jan 2005 20:03:53 +0000 (20:03 +0000)
committercrawshaw <crawshaw@ibex.org>
Fri, 7 Jan 2005 20:03:53 +0000 (20:03 +0000)
darcs-hash:20050107200353-2eb37-5ef1b895faabb4ddfea35b1bb0ac25f1e157b4fd.gz

src/org/ibex/util/Basket.java

index fbb245c..04d7d97 100644 (file)
@@ -112,7 +112,7 @@ public interface Basket extends Serializable {
 
         public void sort(CompareFunc c) { sort(this, null, c, 0, size); }
 
-        private static void sort(Array a, Array b, CompareFunc c, int start, int end) {
+        public static void sort(Array a, Array b, CompareFunc c, int start, int end) {
             Object tmpa, tmpb = null;
             if(start >= end) return;
             if(end-start <= 6) {