Login  Register

Re: Tools.quicksort missing

Posted by Jan Eglinger on Nov 07, 2013; 10:22am
URL: http://imagej.273.s1.nabble.com/Personal-Update-Sites-for-Fiji-ImageJ-tp5004967p5005487.html

Hi Francis,

On 07.11.2013, 10:57 AM, Francis Burton wrote:

> I just tried to re-compile a plugin I wrote a couple of
> years ago and now get the error:
>
> cannot find symbol
> symbol  : method quicksort(double[],int[])
> location: class ij.util.Tools
>      Tools.quicksort(asort, index);
>           ^
>
> I'm using ImageJ 1.48f & Java 1.6.0_20 (64-bit).
>
> Has the quicksort function been removed? If so, is there
> an equivalent call I can substitute?

As far as I can see from this commit:

http://fiji.sc/git/?p=ImageJA.git;a=commitdiff;h=dcec30f7a01cd703866c61a825476d35a420bc2d

the Tools.quicksort() function has been removed by Wayne with version
1.46p in May 2012. Maybe you can have a look at the source and see how
far the new rank(double[] values) function can replace your functionality.

Here's the javadoc link for Tools.java:
http://jenkins.imagej.net/job/ImageJ1-javadoc/javadoc/index.html?ij/util/Tools.html


Cheers,
Jan

--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html