scala.collection.immutable.Stream
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
.
Returns string formatted according to given format
string.
Returns string formatted according to given format
string.
Format strings are as for String.format
(@see java.lang.String.format).
The factory for streams.
Methods such as map/flatMap will not invoke the
Builder
factory, 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.