| 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.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| 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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
MultiReaderBag<T>
A MultiReaderBag provides thread-safe iteration for a bag through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableBag<T>
A MutableBag is a Collection whose elements are unordered and may contain duplicate entries.
|
interface |
MutableBagIterable<T> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedBag<T> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeCollection<T>
A FixedSizeCollection is a collection that may be mutated, but cannot grow or shrink in size.
|
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<T> |
MutableCollection.asSynchronized()
Returns a synchronized wrapper backed by this collection.
|
MutableCollection<T> |
MutableCollection.asUnmodifiable()
Returns an unmodifiable view of this collection.
|
<V> MutableCollection<V> |
MutableCollection.collect(Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection.
|
<V> MutableCollection<V> |
MutableCollection.collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function)
Returns a new MutableCollection with the results of applying the specified function to each element of the source
collection, but only for elements that evaluate to true for the specified predicate.
|
<P,V> MutableCollection<V> |
MutableCollection.collectWith(Function2<? super T,? super P,? extends V> function,
P parameter)
Same as
RichIterable.collect(Function) with a Function2 and specified parameter which is passed to the block. |
<V> MutableCollection<V> |
MutableCollection.flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect is a special case of RichIterable.collect(Function). |
default <P,V> MutableCollection<V> |
MutableCollection.flatCollectWith(Function2<? super T,? super P,? extends Iterable<V>> function,
P parameter) |
MutableCollection<T> |
MutableCollection.newEmpty()
Creates a new empty mutable version of the same collection type.
|
MutableCollection<T> |
MutableCollection.reject(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to false for the specified predicate.
|
<P> MutableCollection<T> |
MutableCollection.rejectWith(Predicate2<? super T,? super P> predicate,
P parameter)
Returns a MutableCollection with all elements that evaluate to false for the specified predicate2 and parameter.
|
MutableCollection<T> |
MutableCollection.select(Predicate<? super T> predicate)
Returns a MutableCollection with all elements that evaluate to true for the specified predicate.
|
<S> MutableCollection<S> |
MutableCollection.selectInstancesOf(Class<S> clazz)
Returns all elements of the source collection that are instances of the Class
clazz. |
<P> MutableCollection<T> |
MutableCollection.selectWith(Predicate2<? super T,? super P> predicate,
P parameter)
Returns a MutableCollection with all elements that evaluate to true for the specified predicate2 and parameter.
|
MutableCollection<T> |
MutableCollection.tap(Procedure<? super T> procedure) |
MutableCollection<T> |
MutableCollection.with(T element)
This method allows mutable and fixed size collections the ability to add elements to their existing elements.
|
MutableCollection<T> |
FixedSizeCollection.with(T element)
This method allows fixed size collections the ability to add elements to their existing elements.
|
MutableCollection<T> |
MutableCollection.withAll(Iterable<? extends T> elements)
This method allows mutable and fixed size collections the ability to add multiple elements to their existing
elements.
|
MutableCollection<T> |
FixedSizeCollection.withAll(Iterable<? extends T> elements)
This method allows fixed size collections the ability to add multiple elements to their existing elements.
|
MutableCollection<T> |
MutableCollection.without(T element)
This method allows mutable and fixed size collections the ability to remove elements from their existing elements.
|
MutableCollection<T> |
FixedSizeCollection.without(T element)
This method allows fixed size collections the ability to remove elements from their existing elements.
|
MutableCollection<T> |
MutableCollection.withoutAll(Iterable<? extends T> elements)
This method allows mutable and fixed size collections the ability to remove multiple elements from their existing
elements.
|
MutableCollection<T> |
FixedSizeCollection.withoutAll(Iterable<? extends T> elements)
This method allows fixed size collections the ability to remove multiple elements from their existing elements.
|
<S> MutableCollection<Pair<T,S>> |
MutableCollection.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
MutableCollection<Pair<T,Integer>> |
MutableCollection.zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableBooleanCollection.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableByteCollection.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableCharCollection.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableDoubleCollection.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableFloatCollection.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableIntCollection.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableLongCollection.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableShortCollection.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeList<T>
A FixedSizeList is a list that may be mutated, but cannot grow or shrink in size.
|
interface |
MultiReaderList<T>
A MultiReaderList provides thread-safe iteration for a list through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableList<T>
A MutableList is an extension of java.util.List which provides methods matching the Smalltalk Collection protocol.
|
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<V> |
MutableMapIterable.reject(Predicate<? super V> predicate) |
<P> MutableCollection<V> |
MutableMapIterable.rejectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
MutableCollection<V> |
MutableMapIterable.select(Predicate<? super V> predicate) |
<S> MutableCollection<S> |
MutableMapIterable.selectInstancesOf(Class<S> clazz) |
<P> MutableCollection<V> |
MutableMapIterable.selectWith(Predicate2<? super V,? super P> predicate,
P parameter) |
<S> MutableCollection<Pair<V,S>> |
MutableMapIterable.zip(Iterable<S> that) |
MutableCollection<Pair<V,Integer>> |
MutableMapIterable.zipWithIndex() |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableObjectBooleanMap.collect(BooleanToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectByteMap.collect(ByteToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectCharMap.collect(CharToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectDoubleMap.collect(DoubleToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectFloatMap.collect(FloatToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectLongMap.collect(LongToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectShortMap.collect(ShortToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<V> |
MutableSortedMap.values() |
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<V> |
MutableMultimap.get(K key) |
MutableCollection<V> |
MutableMultimap.getIfAbsentPutAll(K key,
Iterable<? extends V> values)
Puts values into multimap if there are no values already associated with key.
|
| Modifier and Type | Method and Description |
|---|---|
MutableCollection<T> |
PartitionMutableCollection.getRejected() |
MutableCollection<T> |
PartitionMutableCollection.getSelected() |
| Modifier and Type | Interface and Description |
|---|---|
interface |
FixedSizeSet<T>
A FixedSizeSet is a set that may be mutated, but cannot grow or shrink in size.
|
interface |
MultiReaderSet<T>
A MultiReaderSet provides thread-safe iteration for a set through methods
withReadLockAndDelegate() and withWriteLockAndDelegate(). |
interface |
MutableSet<T>
A MutableSet is an extension java.util.Set which provides methods matching the Smalltalk Collection protocol.
|
interface |
MutableSetIterable<T> |
| Modifier and Type | Method and Description |
|---|---|
<S> MutableCollection<Pair<T,S>> |
MutableSetIterable.zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MutableSortedSet<T>
A MutableSortedSet is an implementation of a JCF SortedSet which provides methods matching the Smalltalk Collection
protocol.
|
Copyright © 2004–2023. All rights reserved.