Interface Generating<S,E>
- All Known Subinterfaces:
SideEffectCapable<S,E>
- All Known Implementing Classes:
AggregateStep,CountGlobalStep,FoldStep,GroupCountSideEffectStep,GroupCountStep,GroupSideEffectStep,GroupStep,MaxGlobalStep,MeanGlobalStep,MinGlobalStep,ProfileSideEffectStep,ReducingBarrierStep,SubgraphStep,SumGlobalStep,TreeSideEffectStep,TreeStep
public interface Generating<S,E>
A
Generating step is one that has a side-effect that needs post-processing prior to being returned.- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
-
Method Summary
Modifier and TypeMethodDescriptiondefault EgenerateFinalResult(S preCap) Post-process the side-effect and return the post-processed side-effect.
-
Method Details
-
generateFinalResult
Post-process the side-effect and return the post-processed side-effect. The default implementation is simply the identity function and returns the argument.- Parameters:
preCap- the pre-processed side-effect.- Returns:
- the post-processed side-effect.
-