public abstract class Result<F,R>
extends java.lang.Object
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
static <F,R> Result<F,R> |
failure(F error) |
F |
getFailure() |
R |
getResult() |
boolean |
isFailure() |
boolean |
isOK() |
static <F,R> Result<F,R> |
ok(R result) |