| Package | Description |
|---|---|
| org.eclipse.collections.api.list.primitive |
This package contains mutable and immutable primitive list API.
|
| org.eclipse.collections.api.ordered.primitive | |
| org.eclipse.collections.api.stack.primitive |
This package contains mutable and immutable primitive stack API.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> ListIterable<V> |
DoubleList.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ListIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> MutableList<V> |
MutableDoubleList.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new MutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableList<V> |
ImmutableDoubleList.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ImmutableList using results obtained by applying the specified function to each element
and its corresponding index.
|
| Modifier and Type | Method and Description |
|---|---|
default <V> ReversibleIterable<V> |
ReversibleDoubleIterable.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ReversibleIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> OrderedIterable<V> |
OrderedDoubleIterable.collectWithIndex(DoubleIntToObjectFunction<? 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>> |
OrderedDoubleIterable.collectWithIndex(DoubleIntToObjectFunction<? 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> StackIterable<V> |
DoubleStack.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new StackIterable using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> MutableStack<V> |
MutableDoubleStack.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new MutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
default <V> ImmutableStack<V> |
ImmutableDoubleStack.collectWithIndex(DoubleIntToObjectFunction<? extends V> function)
Returns a new ImmutableStack using results obtained by applying the specified function to each element
and its corresponding index.
|
Copyright © 2004–2022. All rights reserved.