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