Package com.groiss.ds

The ds package contains some useful data structures and interfaces.

See:
          Description

Interface Summary
KeyValuePair This interface is implemented by some classes like PersistantObject, which have a unique key (object id) and a value - the object itself or a string representation.
 

Class Summary
ComparablePair  
CountedSemaphore A CountedSemaphore (from Dijkstra) where waiting threads are handled in FIFO order.
KeyedList This class implements an ordered map.
ListComparator  
MultiMap A MultiMap maps keys to objects, where one key can be mapped to a set of objects.
Pair A Pair is an object that contains two other objects.
PairComparator Use this comparator to sort Persistent objects or other KeyValuePairs.
Queue  
RingBuffer ring buffer for caching the objects the maximum size is provided by removing the oldest element
ThreadLocal2 Same as java.lang.ThreadLocal, plus monitoring utility
TwoLevelMap HashMap based two-level Map.
 

Exception Summary
QueueFullException This Exception is thrown when the semaphore queue is full.
WouldBlockException This Exception is thrown when an action will block the current thread.
 

Package com.groiss.ds Description

The ds package contains some useful data structures and interfaces.



Copyright © 2001-2006 Groiss Informatics GmbH. All Rights Reserved.