T
- Type of wrapped scalar resultU
- Type of resultpublic final class Mapped<T,U> extends Object implements Scalar<U>
Scalar
that apply a Func
to the result
of another Scalar
.
There is no thread-safety guarantee.
This class implements Scalar
, which throws a checked
IOException
. This may not be convenient in many cases. To make
it more convenient and get rid of the checked exception you can
use the Unchecked
decorator.
Copyright © 2017–2019 Cactoos. All rights reserved.