Skip to content

tumatanquang/javolution-backport

Repository files navigation

Javolution Backport

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 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.

WARNING:

  • Since v5.6.6: The original FastList has been replaced with FastChain!
  • Since v5.6.8: The original FastChain has been replaced with FastSequence!
  • Since v5.6.9:
    • Undo class name FastSequence to FastList.
    • The abstract class FastList has been renamed to MutableList.

Suggestions for use:

  • ArrayList can be replaced with FastTable.
  • LinkedList can be replaced with FastList.
  • Initialize FastTable / FastList:
FastTable table = new FastTable();
FastList list = new FastList();
MutableList table = new FastTable();
MutableList list = new FastList();

How to build?

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>.
  • On Windows:
    1. Install JDK 5.0u22 (x86) and JDK 6u45 (x86).
    2. Run the compile.bat file.

About

Based on Javolution 5.5.1 source code.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages