T
- Type of resultpublic final class IoChecked<T> extends Object implements Scalar<T>
Exception
, but throws
IOException
instead.
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.
public T value() throws IOException
Scalar
value
in interface Scalar<T>
IOException
Copyright © 2017–2019 Cactoos. All rights reserved.