Interface Generating<S,E>
- 
- All Known Subinterfaces:
 SideEffectCapable<S,E>
- All Known Implementing Classes:
 AggregateGlobalStep,AggregateLocalStep,CountGlobalStep,FoldStep,GroupCountSideEffectStep,GroupCountStep,GroupSideEffectStep,GroupStep,MaxGlobalStep,MeanGlobalStep,MinGlobalStep,ProfileSideEffectStep,ReducingBarrierStep,SubgraphStep,SumGlobalStep,TreeSideEffectStep,TreeStep
public interface Generating<S,E>AGeneratingstep is one that has a side-effect that needs post-processing prior to being returned.- Author:
 - Marko A. Rodriguez (http://markorodriguez.com)
 
 
- 
- 
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default EgenerateFinalResult(S preCap)Post-process the side-effect and return the post-processed side-effect. 
 - 
 
- 
- 
Method Detail
- 
generateFinalResult
default E generateFinalResult(S preCap)
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.
 
 
 - 
 
 -