net.metanotion.functor
Class Constant<I>

java.lang.Object
  extended by net.metanotion.functor.Constant<I>
All Implemented Interfaces:
Thunk<I>

public final class Constant<I>
extends java.lang.Object
implements Thunk<I>


Constructor Summary
Constant(I c)
           
 
Method Summary
 I eval()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Constant

public Constant(I c)
Method Detail

eval

public I eval()
Specified by:
eval in interface Thunk<I>