Based on Javolution 5.5.1 source code.
Since version 5.4, the public methods of FastTable
and FastList
have been marked as final
and cannot be overridden.
This is inconvenient because although these two classes (according to the documentation) can use the shared()
method to make them thread-safe. However, it does not work and throws a compile error.
This project has removed final
to allow overriding of the public methods of these two classes, so you can implement thread-safety in any way you want.
- Since v5.6.6: The original
FastList
has been replaced withFastChain
! - Since v5.6.8: The original
FastChain
has been replaced withFastSequence
!
ArrayList
can be replaced withFastTable
.LinkedList
can be replaced withFastSequence
.- Initialize
FastTable
/FastSequence
:
FastTable table = new FastTable();
FastSequence list = new FastSequence();
FastList list = new FastTable();
FastList list = new FastSequence();
Build using Ant with build.xml file taken and modified from version 5.2.5.
To build use: ant -Dexecutable=<javac path of jdk 5 or 6> compile-jdk<5 or 6>
.