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