to_list


Description:


public Collector<List<G>,Object,G> to_list<G> ()

Returns a collector that accumulates the elements into a new list, in encounter order.

There are no guarantees on the type, mutability, or thread-safety of the list.

Returns:

the collector implementation


Namespace: Gpseq.Collectors
Package: gpseq-1.0