Mappers<T, R> extension

Contains functions for composing Mappers and other operations.

on

Methods

map<R1>(Mapper<R, R1> next) Mapper<T, R1>
Returns a composed Mapper that calls this Mapper and applies the result to next.
pipe(Consumer<R> consumer) Consumer<T>
Returns a composed Mapper that calls this Mapper and applies the result to consumer.
test(Predicate<R> predicate) Predicate<T>
Returns a composed Mapper that calls this Mapper and applies the result to predicate.