net.sf.staccatocommons.defs
Interface Delayable3<A,B,C,D>

Type Parameters:
A - first argument type
B - second argument type
C - third argument type
D - return type type of returned thunk
All Known Subinterfaces:
Function3<A,B,C,D>

@Applicative
public interface Delayable3<A,B,C,D>

Delayable3s are delayed transformations that take three arguments and return a thunk that will perform the actual processing when evaluated, by implementing a delayed(Object, Object, Object) method.

Author:
flbulgarelli
See Also:
Recomendations for implementing, Thunk

Method Summary
 Thunk<D> delayed(A arg0, B arg1, C arg2)
          Asynchronously applies this Delayable3, by returning a Thunk that will perform the actual transformation each time it is evaluated.
 Thunk<D> delayedValue(Thunk<A> thunk0, Thunk<B> thunk1, Thunk<C> thunk2)
          Asynchronously applies this Delayable3, by returning a Thunk that will perform the actual transformation on the given thunk's values each time it is evaluated.
 

Method Detail

delayed

@NonNull
Thunk<D> delayed(A arg0,
                         B arg1,
                         C arg2)
Asynchronously applies this Delayable3, by returning a Thunk that will perform the actual transformation each time it is evaluated.

Parameters:
arg0 -
arg1 -
arg2 -
Returns:
a new Thunk.

delayedValue

@NonNull
Thunk<D> delayedValue(@NonNull
                              Thunk<A> thunk0,
                              @NonNull
                              Thunk<B> thunk1,
                              @NonNull
                              Thunk<C> thunk2)
Asynchronously applies this Delayable3, by returning a Thunk that will perform the actual transformation on the given thunk's values each time it is evaluated.

Parameters:
arg0 -
arg1 -
arg2 -
Returns:
a new Thunk.


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