|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - argument typeB - type of returned thunk@Applicative public interface Delayable<A,B>
Delayables are delayed transformations that take one argument and
return a thunk that will perform the processing when evaluated, by
implementing a delayed(Object) method.
Recomendations for implementing,
Thunk| Method Summary | |
|---|---|
Thunk<B> |
delayed(A arg)
Asynchronously applies this Delayable, by returning a Thunk
that will perform the actual transformation each time it is evaluated. |
Thunk<B> |
delayedValue(Thunk<? extends A> thunk)
Asynchronously applies this Delayable on the thunk's value, by
returning a Thunk that will perform the actual transformation each
time it is evaluated. |
| Method Detail |
|---|
@NonNull Thunk<B> delayed(A arg)
Delayable, by returning a Thunk
that will perform the actual transformation each time it is evaluated.
arg -
Thunk
@NonNull
Thunk<B> delayedValue(@NonNull
Thunk<? extends A> thunk)
Delayable on the thunk's value, by
returning a Thunk that will perform the actual transformation each
time it is evaluated.
thunk - the thunk whose value will be transformed
Thunk
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||