Package com.groiss.ds

The ds package contains some useful data structures and interfaces.

See:
          Description

Interface Summary
KeyValuePair<K,V> 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<F extends Comparable<F>,S> The comparable pair represents a pair of a key and a value.
CountedSemaphore A CountedSemaphore (from Dijkstra) where waiting threads are handled in FIFO order.
KeyedList<K,V> This class implements an ordered map.
ListComparator Compare two lists.
MultiMap<K,V> A MultiMap maps keys to objects, where one key can be mapped to a list of objects.
ObjectTableModel A table model implementation that allows objects as column names.
Pair<F,S> A Pair is an object that contains two other objects.
PairComparator<K,V> Use this comparator to sort Persistent objects or other KeyValuePairs.
StringExpression An expression is parsed, the containing variables are substituted with values.
ThreadLocal2<T> Same as java.lang.ThreadLocal, plus monitoring utility
Triple<F,S,T> A Triple is an object that contains three other objects.
TwoLevelMap<K1,K2,V> 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.



@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.