T
- Type of resultpublic final class IoCheckedScalar<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
Exception
. This may not be convenient in many cases. To make
it more convenient and get rid of the checked exception you can
use UncheckedScalar
or IoCheckedScalar
decorators.
Scalar.NoNulls<T>
Constructor and Description |
---|
IoCheckedScalar(Scalar<T> scalar)
Ctor.
|
public T value() throws IOException
Scalar
value
in interface Scalar<T>
IOException
Copyright © 2017 Cactoos. All rights reserved.