Creates a new builder from scratch
Creates a new builder from scratch
the result of invoking the newBuilder method of this factory.
Creates a new builder on request of a collection.
Creates a new builder on request of a collection.
the collection requesting the builder to be created.
the result of invoking the genericBuilder method on from.
The factory for streams.
Methods such as map/flatMap will not invoke the
Builderfactory, but will return a new stream directly, to preserve laziness. The new stream is then cast to the factory's result type. This means that every CanBuildFrom that takes a Stream as its From type parameter must yield a stream as its result parameter. If that assumption is broken, cast errors might result.