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:
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | AbstractBagDecorator<
the type of elements in this bag E>Decorates another |
| public abstract class | AbstractMapBag<
the type of elements in this bag E>Abstract implementation of the |
| public abstract class | AbstractSortedBagDecorator<
the type of elements in this bag E>Decorates another |
| public class | CollectionBag<
the type of elements in this bag E>Decorates another |
| public class | CollectionSortedBag<
the type of elements in this bag E>Decorates another |
| public class | |
| public class | PredicatedBag<
the type of elements in this bag E>Decorates another |
| public class | PredicatedSortedBag<
the type of elements in this bag E>Decorates another |
| public class | SynchronizedBag<
the type of elements in this bag E>Decorates another |
| public class | SynchronizedSortedBag<
the type of elements in this bag E>Decorates another |
| public class | TransformedBag<
the type of elements in this bag E>Decorates another |
| public class | TransformedSortedBag<
the type of elements in this bag E>Decorates another |
| public class | |
| public class | UnmodifiableBag<
the type of elements in this bag E>Decorates another |
| public class | UnmodifiableSortedBag<
the type of elements in this bag E>Decorates another |