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. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableBag<T> |
|
interface |
ImmutableBagIterable<T> |
Modifier and Type | Method | Description |
---|---|---|
<V> ImmutableCollection<V> |
ImmutableBagIterable.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableSortedBag<T> |
ImmutableSortedBag is the non-modifiable equivalent interface to
MutableSortedBag . |
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 the
with method in MutableCollection
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 the
withAll method in MutableCollection
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 the
without method in MutableCollection
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 the
withoutAll method in MutableCollection
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 this
MutableCollection to an ImmutableCollection . |
<S> ImmutableCollection<Pair<T,S>> |
ImmutableCollection.zip(java.lang.Iterable<S> that) |
|
ImmutableCollection<Pair<T,java.lang.Integer>> |
ImmutableCollection.zipWithIndex() |
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) |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableList<T> |
ImmutableList is the non-modifiable equivalent interface to
MutableList . |
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() |
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) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCollection<V> |
ImmutableMultimap.get(K key) |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCollection<T> |
PartitionImmutableCollection.getRejected() |
|
ImmutableCollection<T> |
PartitionImmutableCollection.getSelected() |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableSet<T> |
ImmutableSet is the non-modifiable equivalent interface to
MutableSet . |
interface |
ImmutableSetIterable<T> |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ImmutableSortedSet<T> |
ImmutableSortedSet is the non-modifiable equivalent interface to
MutableSortedSet . |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableBag<T> |
|
class |
AbstractImmutableBagIterable<T> |
|
class |
ImmutableArrayBag<T> |
|
class |
ImmutableHashBag<T> |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableCollection<T> |
Modifier and Type | Method | Description |
---|---|---|
ImmutableCollection<T> |
AbstractUnmodifiableMutableCollection.toImmutable() |
|
ImmutableCollection<T> |
CollectionAdapter.toImmutable() |
|
ImmutableCollection<T> |
SynchronizedMutableCollection.toImmutable() |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableMultimap<K,V,C extends ImmutableCollection<V>> |
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractImmutableSet<T> |
This class is the parent class for all ImmutableSets.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
Verify.assertContains(java.lang.Object expectedItem,
ImmutableCollection<?> actualImmutableCollection) |
Assert that the given
ImmutableCollection contains the given item. |
static void |
Verify.assertContains(java.lang.String immutableCollectionName,
java.lang.Object expectedItem,
ImmutableCollection<?> actualImmutableCollection) |
Assert that the given
ImmutableCollection contains the given item. |
Copyright © 2004–2020. All rights reserved.