ImmutableBag interface.
An ImmutableBag is an immutable collection which contains elements that are unordered, and may contain duplicate entries.
This package contains 4 immutable bag implementations:
ImmutableArrayBag - an ImmutableBag which uses an array as its underlying data store.
ImmutableEmptyBag - an empty ImmutableBag.
ImmutableHashBag - an ImmutableBag which uses a hashtable as its underlying data store.
ImmutableSingletonBag - an ImmutableBag which contains only one element.
This package contains one factory implementation:
ImmutableBagFactoryImpl - a factory which creates instances of type ImmutableBag.
| Class | Description |
|---|---|
| AbstractImmutableBag<T> | |
| AbstractImmutableBagIterable<T> | |
| ImmutableArrayBag<T> | |
| ImmutableHashBag<T> |
| Enum | Description |
|---|---|
| ImmutableBagFactoryImpl |
Copyright © 2004–2018. All rights reserved.