Result - the type of the result for the computationV - the type of the value resulting from the computationpublic interface ResultView<Result extends Failable,V>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getError()
Return the exception that might have occurred during a failed execution.
|
Result |
getResult()
Return the result of the execution.
|
V |
getValue()
Return the value of a successful execution.
|
V getValue()
java.lang.Throwable getError()
Result getResult()
Copyright © 2014 Tim Brooks. All Rights Reserved.