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 Type
    Method
    Description
    default E
    Post-process the side-effect and return the post-processed side-effect.
  • Method Details

    • 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.