Class AbstractCollector<E>

  • All Implemented Interfaces:
    Collector<E>

    public abstract class AbstractCollector<E>
    extends Object
    implements Collector<E>
    • Constructor Detail

      • AbstractCollector

        public AbstractCollector()
    • Method Detail

      • combine

        public void combine​(Object object)
        Description copied from interface: Collector
        This method should be called by the intermediate touch points that want to combine the data being collected by this collector. This is an optional method and could be used when the same collector is used for collecting data at multiple touch points or accumulating data at same touch point.
        Specified by:
        combine in interface Collector<E>
        Parameters:
        object - Object