org.eclipse.collections.api.bag.MutableBag interface.
A MutableBag is a java. 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:
org.eclipse.collections.impl.bag.mutable.HashBag - a org.eclipse.collections.api.bag.MutableBag which uses a hashtable as its underlying data store.
org.eclipse.collections.impl.bag.mutable.SynchronizedBag - a synchronized view of a bag.
org.eclipse.collections.impl.bag.mutable.UnmodifiableBag - an unmodifiable view of a bag.
This package contains one factory implementation:
org.eclipse.collections.impl.bag.mutable.MutableBagFactoryImpl - a factory which creates instances of type org.eclipse.collections.api.bag.MutableBag .
| Modifier and Type | Class and Description |
|---|---|
| public abstract class | |
| public abstract class | |
| public abstract class | |
| public class | |
| public class | MultiReaderHashBag<T>
MultiReaderHashBag provides a thread-safe wrapper around a HashBag, using a ReentrantReadWriteLock. |
| public class | |
| public class | |
| public class | |
| public class |