Package | Description |
---|---|
oak.util |
Modifier and Type | Method and Description |
---|---|
static <T,E extends Exception> |
Result.error(E error)
Constructs an unsuccessful result.
|
static <T,E extends Exception> |
Result.success(T value)
Constructs a successful result.
|
Copyright © 2011–2014. All rights reserved.