map<R extends Object> abstract method

Monad<R> map<R extends Object>(
  1. @noFuturesAllowed R noFuturesAllowed(
    1. T value
    )
)

Transforms the contained value using the mapper function noFuturesAllowed while preserving the Monad's structure.

Implementation

Monad<R> map<R extends Object>(
  @noFuturesAllowed R Function(T value) noFuturesAllowed,
);