Package com.axemble.vdoc.sdk.viewer
Class ReadyFuture<T>
java.lang.Object
com.axemble.vdoc.sdk.viewer.ReadyFuture<T>
- Type Parameters:
- T- the result type to hold
- All Implemented Interfaces:
- Future<T>
A ready future who hold the result
- 
Nested Class SummaryNested classes/interfaces inherited from interface java.util.concurrent.FutureFuture.State
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.concurrent.FutureexceptionNow, resultNow, state
- 
Constructor Details- 
ReadyFuturecreate a future with it's result- Parameters:
- result- the result
 
 
- 
- 
Method Details- 
cancelpublic boolean cancel(boolean mayInterruptIfRunning) 
- 
isCancelledpublic boolean isCancelled()- Specified by:
- isCancelledin interface- Future<T>
 
- 
isDonepublic boolean isDone()
- 
get
- 
get
 
-