| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| org.eclipse.collections.api.bag.primitive |
This package contains API for Primitive Bags with Mutable and Immutable variants.
|
| org.eclipse.collections.api.collection.primitive |
This package contains mutable and immutable primitive collection API.
|
| org.eclipse.collections.api.list.primitive |
This package contains mutable and immutable primitive list API.
|
| 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.ordered.primitive | |
| org.eclipse.collections.api.set.primitive |
This package contains API for mutable and immutable primitive sets.
|
| org.eclipse.collections.api.stack.primitive |
This package contains mutable and immutable primitive stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<V> RichIterable<V> |
IntIterable.collect(IntToObjectFunction<? extends V> function)
Returns a new collection with the results of applying the specified function on each element of the source
collection.
|
<V> LazyIterable<V> |
LazyIntIterable.collect(IntToObjectFunction<? extends V> function) |
default <V,R extends Collection<V>> |
IntIterable.collect(IntToObjectFunction<? extends V> function,
R target)
Same as
IntIterable.collect(IntToObjectFunction) , only the results are added to the target Collection. |
<V> LazyIterable<V> |
LazyIntIterable.flatCollect(IntToObjectFunction<? extends Iterable<V>> function) |
default <V,R extends Collection<V>> |
IntIterable.flatCollect(IntToObjectFunction<? extends Iterable<V>> function,
R target)
flatCollect is a special case of IntIterable.collect(IntToObjectFunction). |
default <T> MutableIntList |
IntIterable.toSortedListBy(IntToObjectFunction<T> function)
Converts the collection to a MutableIntListImplementation sorted based on the natural order of the key returned
by
function. |
default <T> MutableIntList |
IntIterable.toSortedListBy(IntToObjectFunction<T> function,
Comparator<? super T> comparator)
Converts the collection to a MutableIntList implementation, which is sorted based on the key returned by
function using the provided comparator. |
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
IntBag.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableIntBag.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableIntBag.collect(IntToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> MutableCollection<V> |
MutableIntCollection.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableCollection<V> |
ImmutableIntCollection.collect(IntToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> ListIterable<V> |
IntList.collect(IntToObjectFunction<? extends V> function) |
<V> MutableList<V> |
MutableIntList.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableList<V> |
ImmutableIntList.collect(IntToObjectFunction<? extends V> function) |
default <T> MutableIntList |
MutableIntList.sortThisBy(IntToObjectFunction<T> function)
Sorts the internal data structure of this list based on the natural order of the key returned by
function. |
default <T> MutableIntList |
MutableIntList.sortThisBy(IntToObjectFunction<T> function,
Comparator<? super T> comparator)
Sorts the internal data structure of this list based on the key returned by
function using the provided comparator. |
| Modifier and Type | Method and Description |
|---|---|
<V> Bag<V> |
IntValuesMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableBag<V> |
MutableIntValuesMap.collect(IntToObjectFunction<? extends V> function) |
<V> MutableCollection<V> |
MutableObjectIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableCharIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableByteIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableShortIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableLongIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableDoubleIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableFloatIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableBag<V> |
ImmutableIntIntMap.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableCollection<V> |
ImmutableObjectIntMap.collect(IntToObjectFunction<? extends V> function) |
V |
MutableIntObjectMap.getIfAbsentPutWithKey(int key,
IntToObjectFunction<? extends V> function)
Retrieves the value associated with the key if one exists; if it does not,
associates the result of invoking the value function with the key.
|
| Modifier and Type | Method and Description |
|---|---|
<V> ReversibleIterable<V> |
ReversibleIntIterable.collect(IntToObjectFunction<? extends V> function) |
<V> OrderedIterable<V> |
OrderedIntIterable.collect(IntToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> SetIterable<V> |
IntSet.collect(IntToObjectFunction<? extends V> function) |
<V> MutableSet<V> |
MutableIntSet.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableSet<V> |
ImmutableIntSet.collect(IntToObjectFunction<? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> StackIterable<V> |
IntStack.collect(IntToObjectFunction<? extends V> function) |
<V> MutableStack<V> |
MutableIntStack.collect(IntToObjectFunction<? extends V> function) |
<V> ImmutableStack<V> |
ImmutableIntStack.collect(IntToObjectFunction<? extends V> function) |
Copyright © 2004–2022. All rights reserved.