net.metanotion.functor
Class BlockThunk<V1,V2>

java.lang.Object
  extended by net.metanotion.functor.BlockThunk<V1,V2>
All Implemented Interfaces:
Thunk<V2>

public final class BlockThunk<V1,V2>
extends java.lang.Object
implements Thunk<V2>


Constructor Summary
BlockThunk(Block<? super V1,? extends V2> functor, Thunk<? super V1> constant)
           
 
Method Summary
 V2 eval()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockThunk

public BlockThunk(Block<? super V1,? extends V2> functor,
                  Thunk<? super V1> constant)
Method Detail

eval

public V2 eval()
        throws java.lang.Exception
Specified by:
eval in interface Thunk<V2>
Throws:
java.lang.Exception