Provides to syntax for pure streams.
to
Runs this pure stream and returns the emitted elements in a collection of the specified type. Note: this method is only available on pure streams.