edu.rice.cs.plt.lambda
Interface ResolvingThunk<R>

All Superinterfaces:
Thunk<R>
All Known Subinterfaces:
Continuation<T>, IncrementalTask<I,R>
All Known Implementing Classes:
ArgContinuation, BinaryArgContinuation, CachedThunk, ComposedContinuation, DelayedThunk, ExecutorIncrementalTaskController, ExecutorTaskController, FutureTaskController, IncrementalTaskController, LazyThunk, PendingContinuation, PollingTaskController, ProcessIncrementalTaskController, ProcessTaskController, SwingWorker, TaskController, ValueContinuation

public interface ResolvingThunk<R>
extends Thunk<R>

A thunk that may be in a "resolved" or "unresolved" state. In a resolved state, invocations of value() will return promptly and without exception.


Method Summary
 boolean isResolved()
          Test whether the thunk is in a "resolved" state.
 
Methods inherited from interface edu.rice.cs.plt.lambda.Thunk
value
 

Method Detail

isResolved

boolean isResolved()
Test whether the thunk is in a "resolved" state. If true, an invocation of value will return promptly and without exception.