arakhneRefs: a Java Library for Weak and Soft References

arakhneRefs is a Java library that is providing tools and utilities on weak and soft Java references which are not already provided by the default JDK.

This library is distributed under the GNU Lesser General Public License.

You are welcome to contribute.

The arakhneRefs library contains the following tools:

  • org.arakhne.util.ref.WeakArrayList: an array-based List implementation with weak elements. An entry in a WeakArrayList will automatically be removed when it is no longer in ordinary use.
  • org.arakhne.util.ref.WeakValueMap: a Map implementation with weak values. An entry (key and value) in a WeakValueMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.SoftValueMap: a Map implementation with soft values. An entry (key and value) in a SoftValueMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.ComparableWeakReference: this class is a WeakReference that is able to compare its pointed value.
  • org.arakhne.util.ref.ComparableSoftReference: this class is a SoftReference that is able to compare its pointed value.

arakhneRefs is a part of the Arakhnê Foundation Classes.

 
Online Documentation

See online documentation.

 
Available Versions

PackageVersion
arakhneRefs (binaries)3.0
arakhneRefs-src (sources)3.0

 
Download the arakhneRefs Library

  • SVN Project Name: afc/arakhneRefs
  • Maven repository: http://download.tuxfamily.org/arakhne/maven
  • Maven group id: org.arakhne.afc
  • Maven artifact id: arakhneRefs

 
Change Log

See the Change Log.