edu.rice.cs.plt.tuple
Interface OptionVisitor<T,Ret>


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

forSome

Ret forSome(T value)

forNone

Ret forNone()