|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
Bag
and
SortedBag
interfaces.
See:
Description
Class Summary | |
---|---|
AbstractBagDecorator | Decorates another Bag to provide additional behaviour. |
AbstractMapBag | Abstract implementation of the Bag interface to simplify the creation
of subclass implementations. |
AbstractMapBag.MutableInteger | Mutable integer class for storing the data. |
AbstractSortedBagDecorator | Decorates another SortedBag to provide additional behaviour. |
HashBag | Implements Bag , using a HashMap to provide the
data storage. |
PredicatedBag | Decorates another Bag to validate that additions
match a specified predicate. |
PredicatedSortedBag | Decorates another SortedBag to validate that additions
match a specified predicate. |
SynchronizedBag | Decorates another Bag to synchronize its behaviour
for a multi-threaded environment. |
SynchronizedSortedBag | Decorates another SortedBag to synchronize its behaviour
for a multi-threaded environment. |
TransformedBag | Decorates another Bag to transform objects that are added. |
TransformedSortedBag | Decorates another SortedBag to transform objects that are added. |
TreeBag | Implements SortedBag , using a TreeMap to provide
the data storage. |
TypedBag | Decorates another Bag to validate that elements added
are of a specific type. |
TypedSortedBag | Decorates another SortedBag to validate that elements added
are of a specific type. |
UnmodifiableBag | Decorates another Bag to ensure it can't be altered. |
UnmodifiableSortedBag | Decorates another SortedBag to ensure it can't be altered. |
This package contains implementations of the
Bag
and
SortedBag
interfaces.
A bag stores an object and a count of the number of occurences of the object.
The following implementations are provided in the package:
The following decorators are provided in the package:
|
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |