See: Description
Class | Description |
---|---|
AbstractBagDecorator<E> |
Decorates another
Bag to provide additional behaviour. |
AbstractMapBag<E> |
Abstract implementation of the
Bag interface to simplify the creation
of subclass implementations. |
AbstractSortedBagDecorator<E> |
Decorates another
SortedBag to provide additional behaviour. |
CollectionBag<E> |
Decorates another
Bag to comply with the Collection contract. |
CollectionSortedBag<E> |
Decorates another
SortedBag to comply with the Collection contract. |
HashBag<E> |
Implements
Bag , using a HashMap to provide the
data storage. |
PredicatedBag<E> |
Decorates another
Bag to validate that additions
match a specified predicate. |
PredicatedSortedBag<E> |
Decorates another
SortedBag to validate that additions
match a specified predicate. |
SynchronizedBag<E> |
Decorates another
Bag to synchronize its behaviour
for a multi-threaded environment. |
SynchronizedSortedBag<E> |
Decorates another
SortedBag to synchronize its behaviour
for a multi-threaded environment. |
TransformedBag<E> |
Decorates another
Bag to transform objects that are added. |
TransformedSortedBag<E> |
Decorates another
SortedBag to transform objects that are added. |
TreeBag<E> |
Implements
SortedBag , using a TreeMap to provide the data storage. |
UnmodifiableBag<E> |
Decorates another
Bag to ensure it can't be altered. |
UnmodifiableSortedBag<E> |
Decorates another
SortedBag to ensure it can't be altered. |
Bag
and
SortedBag
interfaces.
A bag stores an object and a count of the number of occurrences of the object.
The following implementations are provided in the package:
The following decorators are provided in the package:
Copyright © 2010 - 2020 Adobe. All Rights Reserved