| Constructor and Description |
|---|
LoadResult(Key<T> key,
Result<T> result) |
| Modifier and Type | Method and Description |
|---|---|
T |
now()
Obtain the loaded value now.
|
T |
safe()
Like now(), but throws NotFoundException instead of returning null.
|
public T now()
public final T safe() throws NotFoundException
NotFoundException - if the loaded value was not foundCopyright © 2015. All rights reserved.