| Package | Description |
|---|---|
| org.eclipse.collections.api |
This package contains interfaces for Eclipse Collections API.
|
| 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.list |
This package contains interfaces for list API which enhance the performance and functionality of
List. |
| org.eclipse.collections.api.map.sorted |
This package contains mutable and immutable sorted map interfaces.
|
| org.eclipse.collections.api.ordered | |
| org.eclipse.collections.api.set.sorted |
This package contains interfaces for sorted set API.
|
| org.eclipse.collections.api.stack |
This package contains interfaces for stack API.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
IntIterable.injectInto(T injectedValue,
ObjectIntToObjectFunction<? super T,? extends T> function) |
| Modifier and Type | Method and Description |
|---|---|
<V> UnsortedBag<V> |
UnsortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> RichIterable<V> |
MutableBagIterable.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> MutableBag<V> |
MutableBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableCollection<V> |
ImmutableBagIterable.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableBag<V> |
ImmutableBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> RichIterable<V> |
Bag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function)
Iterates over the unique elements and their occurrences and collects the results of applying the specified function.
|
default <V,R extends Collection<V>> |
Bag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function,
R target)
Iterates over the unique elements and their occurrences and collects the results of applying the
specified function into the target collection.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> ListIterable<V> |
SortedBag.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> MutableList<V> |
MutableSortedBag.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> ImmutableList<V> |
ImmutableSortedBag.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ListIterable<V> |
SortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> MutableList<V> |
MutableSortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
<V> ImmutableList<V> |
ImmutableSortedBag.collectWithOccurrences(ObjectIntToObjectFunction<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
default <V> MutableList<V> |
MutableList.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> ListIterable<V> |
ListIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> ImmutableList<V> |
ImmutableList.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
default <R> MutableList<R> |
MutableSortedMap.collectWithIndex(ObjectIntToObjectFunction<? super V,? extends R> function) |
default <R> ImmutableList<R> |
ImmutableSortedMap.collectWithIndex(ObjectIntToObjectFunction<? super V,? extends R> function) |
default <V1> ListIterable<V1> |
SortedMapIterable.collectWithIndex(ObjectIntToObjectFunction<? super V,? extends V1> function) |
| Modifier and Type | Method and Description |
|---|---|
default <V> ReversibleIterable<V> |
ReversibleIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> OrderedIterable<V> |
OrderedIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function)
Returns a new OrderedIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V,R extends Collection<V>> |
OrderedIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function,
R target)
Adds elements to the target Collection using results obtained by applying the specified function to each element
and its corresponding index.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> ListIterable<V> |
SortedSetIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> MutableList<V> |
MutableSortedSet.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> ImmutableList<V> |
ImmutableSortedSet.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
| Modifier and Type | Method and Description |
|---|---|
default <V> StackIterable<V> |
StackIterable.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> MutableStack<V> |
MutableStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
default <V> ImmutableStack<V> |
ImmutableStack.collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function) |
Copyright © 2004–2022. All rights reserved.