|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface OptionVisitor<T,Ret>
A visitor for Options. Implementations must handle the "some" and "none"
cases, corresponding to the presence and absence of a value.
| Method Summary | |
|---|---|
Ret |
forNone()
|
Ret |
forSome(T value)
|
| Method Detail |
|---|
Ret forSome(T value)
Ret forNone()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||