add method

Put the data into the sink.

void add(
T data
)

Put the data into the sink.

Must not be called after a call to close.