|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Option<T>
The option of a cached entry. Allows the caching of a found entry or one that is not found.
Nested Class Summary | |
---|---|
static class |
Option.Builder
Builds an appropriate instance of Option. |
Method Summary | |
---|---|
boolean |
exists()
|
T |
getOrElse(T otherwise)
|
Method Detail |
---|
boolean exists()
T getOrElse(T otherwise)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |