|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Interface Summary | |
---|---|
CollectionFactory<E> | CollectionFactory is a collection-specific instance of
the factory pattern. |
Factory<T> | Factory for the factory pattern. |
Relation.EntryVisitor<Key,Value> | Relation.EntryVisitor is a wrapper for a function
that is called on a relation entry of the form
<key,value> . |
WorkSet<T> | WorkSet is an ordered set-like data structure. |
Class Summary | |
---|---|
ArrayIterator<T> | ArrayIterator is a read-only iterator over an array of
elements. |
ArraySet<T> | ArraySet is an immutable, array-backed set. |
BijMap<A,B> | BijMap |
DSUtil | DSUtil is a wrapper for commonly used data-structure
utilities. |
ImmutableCompoundIterable<A,B> | ImmutableCompoundIterable allows the construction of an
IMMUTABLE Iterable by merging several smaller
Iterable s. |
MapFactory<K,V> | MapFactory is a map-specific instance of the factory
pattern. |
MapFacts | MapFacts contains several common map factories. |
MapFacts.HashMapFactory<K,V> | Deprecated. As of jpaul 2.2, use MapFacts.hash() instead. |
MapFacts.TreeMapFactory<K,V> | Deprecated. As of jpaul 2.2, use MapFacts.tree(Comparator) instead. |
MapSetRelation<K,V> | MapSetRelation is an implementation of the
Relation interface based on a Map from
keys to Set s of values. |
MapWithDefault<K,V> | MapWithDefault is a map that returns default values
for unassigned keys. |
MapWrapper<K,V> | MapWrapper is a map backed by another map. |
NoCompTreeMap<K,V> | NoCompTreeMap is tree map that does not require any
used-defined Comparator . |
NonIterableMap<K,V> | NonIterableMap is a very simple association map that
CANNOT be traversed. |
NonIterableSet<T> | NonIterableSet is a very simple set that CANNOT be
traversed. |
Pair<A,B> | Pair is an immutable pair of two values. |
Relation<K,V> | Relation is a binary relation, accepting one to many
and many to one mappings. |
Relation3<Ta,Tb,Tc> | Relation3 models a simple ternary relation. |
Relation3MapRelImpl<Ta,Tb,Tc> | Relation3MapRelImpl is a simple implementation of
Relation3 , backed by a Map from
Ta keys to RelationTb,Tc between
Tb and Tc . |
RelationFactory<K,V> | RelationFactory is a relation-specific instance of the
factory pattern. |
RelFacts | RelFacts contains common relation factories. |
RelFacts.COWRelationFactory<K,V> | Deprecated. As of jpaul 2.2, use RelFacts.cow(RelationFactory) instead. |
RelFacts.MapSetRelationFactory<K,V> | Deprecated. As of jpaul 2.2, use RelFacts.mapSet() or RelFacts.mapSet(MapFactory,SetFactory) instead. |
ReverseListIterator<E> | ReverseListIterator takes a List and
produces a ListIterator that traverses the list in
reverse order. |
ReverseListView<E> | ReverseViewList is an immutable, reverse view of a
List . |
SetFactory<T> | SetFactory is a set-instance of the factory pattern. |
SetFacts | SetFacts contains common set factories. |
SetFacts.COWSetFactory<E> | Deprecated. As of jpaul 2.2, use SetFacts.cow(SetFactory) instead. |
SetFacts.HashSetFactory<E> | Deprecated. As of jpaul 2.2, use SetFacts.hash() instead. |
SetFacts.TreeSetFactory<E> | Deprecated. As of jpaul 2.2, use SetFacts.tree(Comparator) instead. |
UnionFind<E> | UnionFind is a datastructure for performing
unification and lookup operations. |
VerboseWorkSet<T> | VerboseWorkSet - Debugging wrapper for a
WorkSet . |
WorkList<T> | WorkList is a WorkSet with FIFO order. |
WorkPriorityQueue<T> | WorkPriorityQueue is a WorkSet whose
elements are extracted in the increasing order of their priorities. |
WorkQueue<T> | WorkQueue |
WorkStack<T> | WorkStack is a WorkSet with LIFO order. |
Exception Summary | |
---|---|
InterruptTraversalException | InterruptTraversalException is a special exception for
prematurely terminating the traversal of a data structure. |
Data structures for program analysis and not only. Here is a brief overview:
WorkSet
s (e.g., for fixed-point
computations): WorkList
, WorkSet
, and WorkPriorityQueue
.
Factory
and its (many) children. Using the
factory design pattern allows the programmer to switch from one data
structure implementation to another with minimal effort. Of special
importance are the set and map factories from SetFacts
and MapFacts
.
Relation
,
Relation3
and their children. These classes
eliminate the need to manually handle maps to maps to sets, and
provide other goodies too.
SetFacts.cow
and RelFacts.cow
. Represent a middle point
between mutation-based java.util
data structures and
purely functional datastructures (such as those from jutil).
DSUtil
,
many of them familiar to people with a functional programming
background: map, filter etc.
Map
with default values for unassigned keys: MapWithDefault
. This may be useful if the
programmer wants a default value that is not null
.
Pair
: very often, we
need to return more than one thing from a method. Returning an array
of Object
s loses type safety. Something like
Pair<Integer,String>
is far more informative.
|
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |