Class Aggregators.SetConsumer<T>

    • Method Detail

      • merge

        public Aggregators.SetConsumer<T> merge​(Aggregators.SetConsumer<T> other)
        Description copied from interface: IItemConsumer
        Merges this object with the supplied object. Normally this is another item consumer of the same type and the output result is a consumer with an internal state that reflects the state of both the current consumer and the input value.
        Specified by:
        merge in interface IItemConsumer<T>
        Parameters:
        other - another instance to merge with
        Returns:
        the merged instance