Class FirstCollectorState<T,​R>

  • All Implemented Interfaces:
    CollectorState<T,​R>

    public final class FirstCollectorState<T,​R>
    extends java.lang.Object
    implements CollectorState<T,​R>
    INTERNAL API

    Helper class to be able to express collection as a fold using mutable data

    • Constructor Summary

      Constructors 
      Constructor Description
      FirstCollectorState​(scala.Function0<java.util.stream.Collector<T,​java.lang.Object,​R>> collectorFactory)  
    • Constructor Detail

      • FirstCollectorState

        public FirstCollectorState​(scala.Function0<java.util.stream.Collector<T,​java.lang.Object,​R>> collectorFactory)