Possibly daft question but is FastList missing from javolution 6.0.0, or am I doing something dumb?
Example code
import javolution.util.*;
public class Test {
FastList<String> test;
FastMap<String, String> test2;
}
FastMap resolves and compiles, FastList is an unknown class according to Netbeans.
The docs seem to imply that all collections are in javolution.util.* as per standard java, but is there a different import for FastList?
Yes, it's gone, use FastTable
. See javolution.org/apidocs/ for the newest javadocs.
I haven't seen any announcement of the removal, there only has been a minor mention in the dev-mailing list:
With the upcoming release 6.0 (snapshot available, official release very soon),
FastList
is superseded byFastTable
. The newFastTable
(fractal based implementation) has fast insertion/deletion speed at random location (likeFastList
) and a very small memory footprint (like the originalFastTable
). In other words, you should be able to replaceFastList
withFastTable
anywhere in your code with similar or better performance!