| Package | Description |
|---|---|
| com.annimon.stream | |
| com.annimon.stream.function | |
| com.annimon.stream.operator |
| Modifier and Type | Method and Description |
|---|---|
<R> Stream<R> |
Stream.mapIndexed(IndexedFunction<? super T,? extends R> mapper)
Returns a
Stream with elements that obtained by applying the given IndexedFunction. |
<R> Stream<R> |
Stream.mapIndexed(int from,
int step,
IndexedFunction<? super T,? extends R> mapper)
Returns a
Stream with elements that obtained by applying the given IndexedFunction. |
| Modifier and Type | Method and Description |
|---|---|
static <T,R> IndexedFunction<T,R> |
IndexedFunction.Util.wrap(Function<? super T,? extends R> function)
Wraps
Function and returns IndexedFunction. |
| Constructor and Description |
|---|
ObjMapIndexed(IndexedIterator<? extends T> iterator,
IndexedFunction<? super T,? extends R> mapper) |
Copyright © 2017. All rights reserved.