Stream Mapper
open class StreamMapper<WRAPPED, RESULT>(wrapped: Stream<WRAPPED>, mapper: (WRAPPED) -> RESULT, initial: () -> RESULT = { mapper(wrapped()) }) : StreamWrapperBase<WRAPPED, RESULT>
Base class for stream wrappers that map the value type from WRAPPED to RESULT
Parameters
WRAPPED
The value type of the wrapped stream
RESULT
The value type of the resulting stream