map<R> method

Supplier<R> map<R>(
  1. Mapper<T, R> next
)

Returns a composed Supplier that calls this Supplier and applies the result to next.

Implementation

Supplier<R> map<R>(Mapper<T, R> next) => () => next(this());