Uses of Interface
org.eclipse.collections.api.collection.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 of
List . |
org.eclipse.collections.api.map |
This package contains interfaces for map API which enhance the performance and functionality of
Map |
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 for
Multimap . |
org.eclipse.collections.api.partition |
This package contains interfaces for
PartitionIterable . |
org.eclipse.collections.api.set |
This package contains interfaces for set API which enhance the performance and functionality of
Set . |
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 the
ImmutableBag interface. |
org.eclipse.collections.impl.collection.immutable |
This package contains implementations of the
ImmutableCollection interface. |
org.eclipse.collections.impl.collection.mutable |
This package contains implementations of the
MutableCollection interface. |
org.eclipse.collections.impl.multimap |
This package contains implementations of the
Multimap interface. |
org.eclipse.collections.impl.set.immutable |
This package package contains the implementations of
ImmutableSet . |
org.eclipse.collections.impl.test |
This package contains
SerializeTestHelper and Verify 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 Iterable<V>> function)
default <P, V> ImmutableCollection<V>
ImmutableCollection. flatCollectWith(Function2<? super T,? super P,? extends 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(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(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(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(Iterable<S> that)
ImmutableCollection<Pair<T,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(Class<S> clazz)
<P> ImmutableCollection<V>
ImmutableMapIterable. selectWith(Predicate2<? super V,? super P> predicate, P parameter)
<S> ImmutableCollection<Pair<V,S>>
ImmutableMapIterable. zip(Iterable<S> that)
ImmutableCollection<Pair<V,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>
class
ImmutableHashBag<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.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. -
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(Object expectedItem, ImmutableCollection<?> actualImmutableCollection)
Assert that the givenImmutableCollection
contains the given item.static void
Verify. assertContains(String immutableCollectionName, Object expectedItem, ImmutableCollection<?> actualImmutableCollection)
Assert that the givenImmutableCollection
contains the given item.