MutableBag
interface.See: Description
Class | Description |
---|---|
AbstractHashBag<T> | |
AbstractMutableBag<T> | |
AbstractMutableBagIterable<T> | |
HashBag<T> |
A HashBag is a MutableBag which uses a Map as its underlying data store.
|
MultiReaderHashBag<T> |
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock.
|
MutableBagFactoryImpl | |
SynchronizedBag<T> |
A synchronized view of a
MutableBag . |
UnmodifiableBag<T> |
An unmodifiable view of a bag.
|
MutableBag
interface.
A MutableBag is a Collection
which contains elements that are unordered and may contain duplicate entries. It adds a protocol for
adding, removing, and determining the number of occurrences for an item.
This package contains 3 bag implementations:
HashBag
- a MutableBag
which uses a hashtable as its underlying data store.
SynchronizedBag
- a synchronized view of a bag.
UnmodifiableBag
- an unmodifiable view of a bag.
This package contains one factory implementation:
MutableBagFactoryImpl
- a factory which creates instances of type MutableBag
.
Copyright © 2004–2016. All rights reserved.