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.WeakValueHashMap: a Map implementation with weak-referenced values and based on an HashMap. An entry (key and value) in a WeakValueHashMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.WeakValueTreeMap: a Map implementation with weak-referenced values and based on an TreeMap. An entry (key and value) in a WeakValueTreeMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.SoftValueHashMap: a Map implementation with soft-referenced values and based on an HashMap. An entry (key and value) in a SoftValueHashMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.SoftValueTreeMap: a Map implementation with soft-referenced values and based on an TreeMap. An entry (key and value) in a SoftValueTreeMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.PhantomValueHashMap: a Map implementation with phantom-referenced values and based on an HashMap. An entry (key and value) in a PhantomValueHashMap will automatically be removed when its value is no longer in ordinary use or null.
  • org.arakhne.util.ref.PhantomValueTreeMap: a Map implementation with phantom-referenced values and based on an TreeMap. An entry (key and value) in a PhantomValueTreeMap 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.

AuthorStéphane GALLAND
Licenses
Operating SystemsOS Independent
ImplementationJava
SVN directoryafc/arakhneRefs
Maven Group Idorg.arakhne.afc
Maven Artifact IdarakhneRefs

RssRecent releases

PackageStable VersionDevelopment Version
arakhneRefs5.75.8-SNAPSHOT

No-screenshot

Project Spotlight

TeX-UPmethodology

A LaTeX style which permits to create Unified Process methodology (UP or RUP) based documents (document version, history, authors, validators, specification, task management, helping tools...).

No-screenshot

Project Spotlight

tinyMAS

A very small platform which permits to implement and run agent-based systems.