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