net.sf.staccatocommons.lang.function
Class AbstractDelayable<A,B>

java.lang.Object
  extended by net.sf.staccatocommons.lang.function.AbstractDelayable<A,B>
All Implemented Interfaces:
Applicable<A,B>, Delayable<A,B>
Direct Known Subclasses:
AbstractFunction, Block

public abstract class AbstractDelayable<A,B>
extends Object
implements Applicable<A,B>, Delayable<A,B>

Author:
flbulgarelli

Constructor Summary
AbstractDelayable()
           
 
Method Summary
 Thunk<B> delayed(A arg)
           
 Thunk<B> delayedValue(Thunk<? extends A> thunk)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.staccatocommons.defs.Applicable
apply
 

Constructor Detail

AbstractDelayable

public AbstractDelayable()
Method Detail

delayed

public Thunk<B> delayed(A arg)
Specified by:
delayed in interface Delayable<A,B>

delayedValue

@NonNull
public Thunk<B> delayedValue(@NonNull
                                     Thunk<? extends A> thunk)
Specified by:
delayedValue in interface Delayable<A,B>


Get Staccatocommons at SourceForge.net. Fast, secure and Free Open Source software downloads