Interface CollectorState<T,​R>

  • All Known Implementing Classes:
    FirstCollectorState, MutableCollectorState

    public interface CollectorState<T,​R>
    INTERNAL API

    Helper class to be able to express collection as a fold using mutable data without accidentally sharing state between materializations

    • Method Detail

      • accumulated

        java.lang.Object accumulated()
      • finish

        R finish()