R - Type of first argument and return valueT - Type of input to reducepublic interface IStepFunction<R,T>
| Modifier and Type | Method and Description |
|---|---|
R |
apply(R result,
T input,
AtomicBoolean reduced)
Applies the reducing function to the current result and
the new input, returning a new result.
|
R apply(R result, T input, AtomicBoolean reduced)
result - The current result valueinput - New input to processreduced - A boolean value which can be set to true
to stop the reduction processCopyright © 2014. All rights reserved.