Interface ICollector<T, S>

A collector, needs to be implemented

Type Parameters

  • T

  • S

Hierarchy

  • ICollector

Implemented by

Properties

Methods

Properties

finalValue: S

the final result after all the collecting is done

Methods

  • this method basically takes a single stream element and does something with it (collecting it one way or the other in most cases)

    Parameters

    • element: T

    Returns any

Generated using TypeDoc