map
Apply the provided mapping function to the bound value, or return an updated unbound result if no value has been bound.
Return
an BindResult
describing the result of applying a mapping functionto the value of this BindResult
.
Parameters
<U>
the type of the result of the mapping function
mapper
a mapping function to apply to the bound value. The mapper will notbe invoked if no value has been bound.