@Beta public static interface Streams.IntFunctionWithIndex<R>
IntFunction
also accepting an index.
This interface is only intended for use by callers of Streams.mapWithIndex(IntStream,
IntFunctionWithIndex)
.
Modifier and Type | Method and Description |
---|---|
R |
apply(int from,
long index)
Applies this function to the given argument and its index within a stream.
|
Copyright © 2010–2020. All rights reserved.