public class ListCollector<E>
Collects objects in a list.
In push mode, downstream processors are handed the list when flush() is called.
In pull mode, the upstream generator is read completely, it's elements are collected in a list
that is then returned when read() is called.