toList


Description:

public ArrayList<T> toList ()

Collects the stream elements into an ArrayList.

Returns:

a new ArrayList with all stream elements.