Uses of Interface
org.eclipse.collections.api.collection.ImmutableCollection
-
Packages that use ImmutableCollection Package Description org.eclipse.collections.api.bag This package contains interfaces for Bag API.org.eclipse.collections.api.bag.sorted This package contains interfaces for SortedBag API.org.eclipse.collections.api.collection org.eclipse.collections.api.collection.primitive This package contains mutable and immutable primitive collection API.org.eclipse.collections.api.list This package contains interfaces for list API which enhance the performance and functionality ofList
.org.eclipse.collections.api.map This package contains interfaces for map API which enhance the performance and functionality ofMap
org.eclipse.collections.api.map.primitive This package contains API for primitive to primitive maps, primitive to object maps and object to primitive maps with mutable and immutable variants.org.eclipse.collections.api.multimap This package contains interfaces forMultimap
.org.eclipse.collections.api.partition This package contains interfaces forPartitionIterable
.org.eclipse.collections.api.set This package contains interfaces for set API which enhance the performance and functionality ofSet
.org.eclipse.collections.api.set.sorted This package contains interfaces for sorted set API.org.eclipse.collections.impl.bag.immutable This package contains implementations of theImmutableBag
interface.org.eclipse.collections.impl.bag.sorted.immutable org.eclipse.collections.impl.collection.immutable This package contains implementations of theImmutableCollection
interface.org.eclipse.collections.impl.collection.mutable This package contains implementations of theMutableCollection
interface.org.eclipse.collections.impl.list.immutable This package contains implementations of theImmutableList
interface.org.eclipse.collections.impl.map.immutable.primitive This package contains implementations of the immutable primitive-primitive, primitive-object and object-primitive map interfaces.org.eclipse.collections.impl.multimap This package contains implementations of theMultimap
interface.org.eclipse.collections.impl.set.immutable This package contains the implementations ofImmutableSet
.org.eclipse.collections.impl.set.sorted.immutable This package contains implementations ofImmutableSortedSet
.org.eclipse.collections.impl.set.strategy.immutable This package contains implementations of immutable sets with user definedHashingStrategy
s.org.eclipse.collections.impl.test This package containsSerializeTestHelper
andVerify
classes. -
-
Uses of ImmutableCollection in org.eclipse.collections.api.bag
Subinterfaces of ImmutableCollection in org.eclipse.collections.api.bag Modifier and Type Interface Description interface
ImmutableBag<T>
interface
ImmutableBagIterable<T>
Methods in org.eclipse.collections.api.bag that return ImmutableCollection Modifier and Type Method Description <V> ImmutableCollection<V>
ImmutableBagIterable. collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function)
-
Uses of ImmutableCollection in org.eclipse.collections.api.bag.sorted
Subinterfaces of ImmutableCollection in org.eclipse.collections.api.bag.sorted Modifier and Type Interface Description interface
ImmutableSortedBag<T>
ImmutableSortedBag is the non-modifiable equivalent interface toMutableSortedBag
. -
Uses of ImmutableCollection in org.eclipse.collections.api.collection
Methods in org.eclipse.collections.api.collection that return ImmutableCollection Modifier and Type Method Description <V> ImmutableCollection<V>
ImmutableCollection. collect(Function<? super T,? extends V> function)
<V> ImmutableCollection<V>
ImmutableCollection. collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
<P,V>
ImmutableCollection<V>ImmutableCollection. collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
<V> ImmutableCollection<V>
ImmutableCollection. flatCollect(Function<? super T,? extends java.lang.Iterable<V>> function)
default <P,V>
ImmutableCollection<V>ImmutableCollection. flatCollectWith(Function2<? super T,? super P,? extends java.lang.Iterable<V>> function, P parameter)
ImmutableCollection<T>
ImmutableCollection. newWith(T element)
This method is similar to thewith
method inMutableCollection
with the difference that a new copy of this collection with the element appended will be returned.ImmutableCollection<T>
ImmutableCollection. newWithAll(java.lang.Iterable<? extends T> elements)
This method is similar to thewithAll
method inMutableCollection
with the difference that a new copy of this collection with the elements appended will be returned.ImmutableCollection<T>
ImmutableCollection. newWithout(T element)
This method is similar to thewithout
method inMutableCollection
with the difference that a new copy of this collection with the element removed will be returned.ImmutableCollection<T>
ImmutableCollection. newWithoutAll(java.lang.Iterable<? extends T> elements)
This method is similar to thewithoutAll
method inMutableCollection
with the difference that a new copy of this collection with the elements removed will be returned.ImmutableCollection<T>
ImmutableCollection. reject(Predicate<? super T> predicate)
<P> ImmutableCollection<T>
ImmutableCollection. rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
ImmutableCollection<T>
ImmutableCollection. select(Predicate<? super T> predicate)
<S> ImmutableCollection<S>
ImmutableCollection. selectInstancesOf(java.lang.Class<S> clazz)
<P> ImmutableCollection<T>
ImmutableCollection. selectWith(Predicate2<? super T,? super P> predicate, P parameter)
ImmutableCollection<T>
ImmutableCollection. tap(Procedure<? super T> procedure)
ImmutableCollection<T>
MutableCollection. toImmutable()
Converts thisMutableCollection
to anImmutableCollection
.<S> ImmutableCollection<Pair<T,S>>
ImmutableCollection. zip(java.lang.Iterable<S> that)
ImmutableCollection<Pair<T,java.lang.Integer>>
ImmutableCollection. zipWithIndex()
-
Uses of ImmutableCollection in org.eclipse.collections.api.collection.primitive
Methods in org.eclipse.collections.api.collection.primitive that return ImmutableCollection Modifier and Type Method Description <V> ImmutableCollection<V>
ImmutableBooleanCollection. collect(BooleanToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableByteCollection. collect(ByteToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableCharCollection. collect(CharToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableDoubleCollection. collect(DoubleToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableFloatCollection. collect(FloatToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableIntCollection. collect(IntToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableLongCollection. collect(LongToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableShortCollection. collect(ShortToObjectFunction<? extends V> function)
-
Uses of ImmutableCollection in org.eclipse.collections.api.list
Subinterfaces of ImmutableCollection in org.eclipse.collections.api.list Modifier and Type Interface Description interface
ImmutableList<T>
ImmutableList is the non-modifiable equivalent interface toMutableList
. -
Uses of ImmutableCollection in org.eclipse.collections.api.map
Methods in org.eclipse.collections.api.map that return ImmutableCollection Modifier and Type Method Description ImmutableCollection<V>
ImmutableMapIterable. reject(Predicate<? super V> predicate)
<P> ImmutableCollection<V>
ImmutableMapIterable. rejectWith(Predicate2<? super V,? super P> predicate, P parameter)
ImmutableCollection<V>
ImmutableMapIterable. select(Predicate<? super V> predicate)
<S> ImmutableCollection<S>
ImmutableMapIterable. selectInstancesOf(java.lang.Class<S> clazz)
<P> ImmutableCollection<V>
ImmutableMapIterable. selectWith(Predicate2<? super V,? super P> predicate, P parameter)
<S> ImmutableCollection<Pair<V,S>>
ImmutableMapIterable. zip(java.lang.Iterable<S> that)
ImmutableCollection<Pair<V,java.lang.Integer>>
ImmutableMapIterable. zipWithIndex()
-
Uses of ImmutableCollection in org.eclipse.collections.api.map.primitive
Methods in org.eclipse.collections.api.map.primitive that return ImmutableCollection Modifier and Type Method Description <V> ImmutableCollection<V>
ImmutableObjectBooleanMap. collect(BooleanToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectByteMap. collect(ByteToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectCharMap. collect(CharToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectDoubleMap. collect(DoubleToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectFloatMap. collect(FloatToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectIntMap. collect(IntToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectLongMap. collect(LongToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectShortMap. collect(ShortToObjectFunction<? extends V> function)
-
Uses of ImmutableCollection in org.eclipse.collections.api.multimap
Methods in org.eclipse.collections.api.multimap that return ImmutableCollection Modifier and Type Method Description ImmutableCollection<V>
ImmutableMultimap. get(K key)
-
Uses of ImmutableCollection in org.eclipse.collections.api.partition
Methods in org.eclipse.collections.api.partition that return ImmutableCollection Modifier and Type Method Description ImmutableCollection<T>
PartitionImmutableCollection. getRejected()
ImmutableCollection<T>
PartitionImmutableCollection. getSelected()
-
Uses of ImmutableCollection in org.eclipse.collections.api.set
Subinterfaces of ImmutableCollection in org.eclipse.collections.api.set Modifier and Type Interface Description interface
ImmutableSet<T>
ImmutableSet is the non-modifiable equivalent interface toMutableSet
.interface
ImmutableSetIterable<T>
-
Uses of ImmutableCollection in org.eclipse.collections.api.set.sorted
Subinterfaces of ImmutableCollection in org.eclipse.collections.api.set.sorted Modifier and Type Interface Description interface
ImmutableSortedSet<T>
ImmutableSortedSet is the non-modifiable equivalent interface toMutableSortedSet
. -
Uses of ImmutableCollection in org.eclipse.collections.impl.bag.immutable
Classes in org.eclipse.collections.impl.bag.immutable that implement ImmutableCollection Modifier and Type Class Description class
AbstractImmutableBag<T>
class
AbstractImmutableBagIterable<T>
class
ImmutableArrayBag<T>
(package private) class
ImmutableEmptyBag<T>
This is a zero elementImmutableBag
which is created by calling the Bags.immutable.empty().class
ImmutableHashBag<T>
(package private) class
ImmutableSingletonBag<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.bag.sorted.immutable
Classes in org.eclipse.collections.impl.bag.sorted.immutable that implement ImmutableCollection Modifier and Type Class Description (package private) class
AbstractImmutableSortedBag<T>
(package private) class
ImmutableEmptySortedBag<T>
(package private) class
ImmutableSortedBagImpl<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.collection.immutable
Classes in org.eclipse.collections.impl.collection.immutable that implement ImmutableCollection Modifier and Type Class Description class
AbstractImmutableCollection<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.collection.mutable
Methods in org.eclipse.collections.impl.collection.mutable that return ImmutableCollection Modifier and Type Method Description ImmutableCollection<T>
AbstractUnmodifiableMutableCollection. toImmutable()
ImmutableCollection<T>
CollectionAdapter. toImmutable()
ImmutableCollection<T>
SynchronizedMutableCollection. toImmutable()
-
Uses of ImmutableCollection in org.eclipse.collections.impl.list.immutable
Classes in org.eclipse.collections.impl.list.immutable that implement ImmutableCollection Modifier and Type Class Description (package private) class
AbstractImmutableList<T>
This class is the parent class for all ImmutableLists.protected static class
AbstractImmutableList.ImmutableSubList<T>
(package private) class
ImmutableArrayList<T>
An ImmutableArrayList wraps a Java array, but it cannot be modified after creation.(package private) class
ImmutableDecapletonList<T>
This is a ten element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven, eight, nine, ten) method.(package private) class
ImmutableDoubletonList<T>
This is a two element immutable List which is created by calling Immutable.newListWith(one, two) method.(package private) class
ImmutableEmptyList<T>
This is a zero elementImmutableList
which is created by calling the Lists.immutable.empty() method.(package private) class
ImmutableNonupletonList<T>
This is a nine element immutable List which is created by calling Lists.immutable.with(one, two, three, four, five, six, seven, eight, nine) method.(package private) class
ImmutableOctupletonList<T>
This is an eight element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven, eight) method.(package private) class
ImmutableQuadrupletonList<T>
This is a four element immutable List which is created by calling Immutable.newListWith(one, two, three, four) method.(package private) class
ImmutableQuintupletonList<T>
This is a five element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five) method.(package private) class
ImmutableSeptupletonList<T>
This is a seven element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six, seven) method.(package private) class
ImmutableSextupletonList<T>
This is a six element immutable List which is created by calling Immutable.newListWith(one, two, three, four, five, six) method.(package private) class
ImmutableSingletonList<T>
This is a single element immutable List which is created by calling Immutable.newListWith(one) method.(package private) class
ImmutableTripletonList<T>
This is a three element immutable List which is created by calling Immutable.newListWith(one, two, three) method. -
Uses of ImmutableCollection in org.eclipse.collections.impl.map.immutable.primitive
Methods in org.eclipse.collections.impl.map.immutable.primitive that return ImmutableCollection Modifier and Type Method Description <V> ImmutableCollection<V>
ImmutableObjectBooleanEmptyMap. collect(BooleanToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectBooleanHashMap. collect(BooleanToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectBooleanSingletonMap. collect(BooleanToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectByteEmptyMap. collect(ByteToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectByteHashMap. collect(ByteToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectByteSingletonMap. collect(ByteToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectCharEmptyMap. collect(CharToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectCharHashMap. collect(CharToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectCharSingletonMap. collect(CharToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectDoubleEmptyMap. collect(DoubleToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectDoubleHashMap. collect(DoubleToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectDoubleSingletonMap. collect(DoubleToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectFloatEmptyMap. collect(FloatToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectFloatHashMap. collect(FloatToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectFloatSingletonMap. collect(FloatToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectIntEmptyMap. collect(IntToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectIntHashMap. collect(IntToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectIntSingletonMap. collect(IntToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectLongEmptyMap. collect(LongToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectLongHashMap. collect(LongToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectLongSingletonMap. collect(LongToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectShortEmptyMap. collect(ShortToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectShortHashMap. collect(ShortToObjectFunction<? extends V> function)
<V> ImmutableCollection<V>
ImmutableObjectShortSingletonMap. collect(ShortToObjectFunction<? extends V> function)
-
Uses of ImmutableCollection in org.eclipse.collections.impl.multimap
Classes in org.eclipse.collections.impl.multimap with type parameters of type ImmutableCollection Modifier and Type Class Description class
AbstractImmutableMultimap<K,V,C extends ImmutableCollection<V>>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.set.immutable
Classes in org.eclipse.collections.impl.set.immutable that implement ImmutableCollection Modifier and Type Class Description class
AbstractImmutableSet<T>
This class is the parent class for all ImmutableSets.(package private) class
ImmutableDoubletonSet<T>
(package private) class
ImmutableEmptySet<T>
This is a zero elementImmutableSet
which is created by calling the Sets.immutable.empty() method.(package private) class
ImmutableQuadrupletonSet<T>
(package private) class
ImmutableSingletonSet<T>
(package private) class
ImmutableTripletonSet<T>
(package private) class
ImmutableUnifiedSet<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.set.sorted.immutable
Classes in org.eclipse.collections.impl.set.sorted.immutable that implement ImmutableCollection Modifier and Type Class Description (package private) class
AbstractImmutableSortedSet<T>
This class is the parent class for all ImmutableSortedSets.(package private) class
ImmutableEmptySortedSet<T>
This is a zero elementImmutableSortedSet
which is created by calling the SortedSets.immutable.empty() method.(package private) class
ImmutableTreeSet<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.set.strategy.immutable
Classes in org.eclipse.collections.impl.set.strategy.immutable that implement ImmutableCollection Modifier and Type Class Description (package private) class
ImmutableEmptySetWithHashingStrategy<T>
This is a zero elementImmutableUnifiedSetWithHashingStrategy
which is created by calling the HashingStrategySets.immutable.empty() method.(package private) class
ImmutableUnifiedSetWithHashingStrategy<T>
-
Uses of ImmutableCollection in org.eclipse.collections.impl.test
Methods in org.eclipse.collections.impl.test with parameters of type ImmutableCollection Modifier and Type Method Description static void
Verify. assertContains(java.lang.Object expectedItem, ImmutableCollection<?> actualImmutableCollection)
Assert that the givenImmutableCollection
contains the given item.static void
Verify. assertContains(java.lang.String immutableCollectionName, java.lang.Object expectedItem, ImmutableCollection<?> actualImmutableCollection)
Assert that the givenImmutableCollection
contains the given item.
-