PureTo

final class PureTo[O] extends AnyVal

Provides to syntax for pure streams.

Provides to syntax for pure streams.

class AnyVal
trait Matchable
class Any

Value members

Concrete methods

def to(c: Collector[O]): Out

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.

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.