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- anImmutableBagwhich uses an array as its underlying data store. -
ImmutableEmptyBag- an emptyImmutableBag. -
ImmutableHashBag- anImmutableBagwhich uses a hashtable as its underlying data store. -
ImmutableSingletonBag- anImmutableBagwhich contains only one element.
This package contains one factory implementation:
-
ImmutableBagFactoryImpl- a factory which creates instances of typeImmutableBag.
-
Class Summary Class Description AbstractImmutableBag<T> AbstractImmutableBagIterable<T> ImmutableArrayBag<T> ImmutableBagFactoryImpl ImmutableHashBag<T>