0 / 60 seg.

What is the primary use of the collect method in streams?