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> | |
ImmutableBagFactoryImpl | |
ImmutableHashBag<T> |
Copyright © 2004–2019. All rights reserved.