Modifier and Type | Method and Description |
---|---|
static <T,R> Function<T,R> |
indexed(IndexedFunction<T,R> func)
Returns a stateful
Function . |
@Beta @SequentialOnly @Stateful public static <T,R> Function<T,R> indexed(IndexedFunction<T,R> func)
Function
. Don't save it or use it in parallel stream.T
- R
- func
- Copyright © 2020. All rights reserved.