Package org.hypergraphdb.util

Interface Summary
CloseMe  
HGSortedSet<E> A variation of the standard SortedSet interface that offers a HGRandomAccessResult of its elements in addition to an Iterator.
Mapping<From,To> An interface specifying a single argument function.
MemoryWarningSystem.Listener  
RefResolver<Key,Value> Defines a generic capability to resolve a reference of type Key to an object of type Value.
ValueSetter A simple interface to be implemented by objects that set values in specific dynamic contexts.
 

Class Summary
AccessibleObjectCache Utility class to maintain runtime caches of Field, Method and Constructor for use by HGAtomType implementations.
ActionQueueThread This a simple queue that runs as a thread and executes passed in action object (i.e.
ArrayBasedIterator<T> Implements an Iterator over the elements of a built-in Java array.
ArrayBasedSet<E> An implementation SortedSet based on primitive arrays that grow as needed without ever shrinking.
CompositeMapping<From,To>  
HGLock An implementation of ReadWriteLock that will use the currently active database transaction if there is one (through BDBTxLock) or a default ReentrantReadWriteLock if there is no current transaction.
HGLogger  
HGUtils The mandatory bag of static utility method class.
LinkedIdentityHashMap<K,V>  
LLRBTree<E> Implements a set of elements as a left-leaning red-black tree.
MemoryWarningSystem This memory warning system will call all registered listeners when we exceed the percentage of available heap memory specified.
Pair<F,S> The inexplicably missing class from the java.util package.
SimplyLinkedQueue<T>  
SoftHashMap<K,V> This is similar to the standard WeakHashMap, but it uses SoftReferences for the map's values instead of WeakReferences for the maps keys.
TempLink This class represents a simple, temporary link used during various query and graph traversal activities.
TwoWayMap<X,Y> A bi-directional map X <-> Y.
WeakIdentityHashMap<K,V> This is a modified version of @see{WeakHashMap} from JDK 1.5.