A Bag 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 interfaces:
org.eclipse.collections.api.bag.Bag - contains the common API for Mutable and Immutable Bag.
org.eclipse.collections.api.bag.MutableBag - a Bag whose contents can be altered after initialization.
org.eclipse.collections.api.bag.ImmutableBag - a Bag whose contents cannot be altered after initialization.
| Modifier and Type | Interface and Description |
|---|---|
| public interface | |
| public interface | |
| public interface | |
| public interface | MultiReaderBag<T>
A MultiReaderBag provides thread-safe iteration for a bag through methods |
| public interface | MutableBag<T>
A MutableBag is a Collection whose elements are unordered and may contain duplicate entries. |
| public interface | |
| public interface | |
| public interface | |
| public interface |