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:
net.sf.staccatocommons.defs.Applicable<A,B>, net.sf.staccatocommons.defs.Delayable<A,B>
Direct Known Subclasses:
AbstractFunction, Block

public abstract class AbstractDelayable<A,B>
extends Object
implements net.sf.staccatocommons.defs.Applicable<A,B>, net.sf.staccatocommons.defs.Delayable<A,B>

Author:
flbulgarelli

Constructor Summary
AbstractDelayable()
           
 
Method Summary
 net.sf.staccatocommons.defs.Thunk<B> delayed(A arg)
           
 net.sf.staccatocommons.defs.Thunk<B> delayedValue(net.sf.staccatocommons.defs.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 net.sf.staccatocommons.defs.Thunk<B> delayed(A arg)
Specified by:
delayed in interface net.sf.staccatocommons.defs.Delayable<A,B>

delayedValue

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


Copyright © 2010-2012 Staccatocommons. All Rights Reserved.