Perform a map on an Iterable subclass until the predicate function
returns false.
Perform a map on an Iterable subclass until the predicate function
returns false. Combines map() and takeWhile() in a more efficient
manner. The predicate is called after the mapping operation is
performed.
the type of the returned subclass
the type of the returned Iterable subclass
the mapper function
the predicate. The mapping operation will continue
until this function returns false or the iterable
is exhausted
the CanBuildFrom factory, which allows this function
to make an instance of the subclass without knowing
what it is
the mapped (and possibly filtered) result
Can be used to add a
mapWhile()function to a collection type.type of value contained in the collection
the collection, which must be a subclass of
Iterable[T]