Package org.eclipse.collections.impl.bag.immutable
package org.eclipse.collections.impl.bag.immutable
This package contains implementations of the
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
- anImmutableBag
which uses an array as its underlying data store. -
ImmutableEmptyBag
- an emptyImmutableBag
. -
ImmutableHashBag
- anImmutableBag
which uses a hashtable as its underlying data store. -
ImmutableSingletonBag
- anImmutableBag
which contains only one element.
This package contains one factory implementation:
-
ImmutableBagFactoryImpl
- a factory which creates instances of typeImmutableBag
.
-
ClassDescription