Interface UnsafeValue<T,E extends Throwable>
- Type Parameters:
T- value type.E- exception type.
- All Known Subinterfaces:
LazyUnsafeValue<T,E>
public interface UnsafeValue<T,E extends Throwable>
A generic value provider, similar to
Value, but able to
throw an exception.- Author:
- Marek Potociar
-
Method Summary
-
Method Details
-
get
Get the stored value.- Returns:
- stored value.
- Throws:
E- in case there was an error while computing the value.
-