sealed abstract classReducer[T] extends (T) ⇒ Unit
An abstraction for a stateful reduce operation. The operation is called once for each element of the sequence to be
reduced, and then the result (if any) is retrieved using the result() method. Note that the result() operation is
side-effecting, and the reducer should no longer be used after calling result(). This is similar to a typical builder.
An abstraction for a stateful reduce operation. The operation is called once for each element of the sequence to be reduced, and then the result (if any) is retrieved using the result() method. Note that the result() operation is side-effecting, and the reducer should no longer be used after calling result(). This is similar to a typical builder.
the element and result type