to_list
Description:
Accumulates the elements into a new list, in encounter order.
There are no guarantees on the type, mutability, or thread-safety of the list.
This is equivalent to:
seq.collect( Collectors.to_list<G>() );
This is a terminal operation.
Returns:
a future of the result list |