projects
/
org.ibex.util.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
669021b
)
expose double array sort function in Basket.Array
author
crawshaw
<crawshaw@ibex.org>
Fri, 7 Jan 2005 20:03:53 +0000
(20:03 +0000)
committer
crawshaw
<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
patch
|
blob
|
history
diff --git
a/src/org/ibex/util/Basket.java
b/src/org/ibex/util/Basket.java
index
fbb245c
..
04d7d97
100644
(file)
--- a/
src/org/ibex/util/Basket.java
+++ b/
src/org/ibex/util/Basket.java
@@
-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) {