Collector

trait Collector[-A]

Supports building a result of type Out from zero or more Chunk[A].

Supports building a result of type Out from zero or more Chunk[A].

This is similar to the standard library collection builders but optimized for building a collection from a stream.

The companion object provides implicit conversions (methods starting with supports), which adapts various collections to the Collector trait.

Companion
object
class Object
trait Matchable
class Any

Type members

Types

type Out

Value members

Abstract methods