Package edu.umd.cs.findbugs.util
Class FutureValue<V>
java.lang.Object
edu.umd.cs.findbugs.util.FutureValue<V>
- All Implemented Interfaces:
Future<V>
- Author:
- pugh
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
FutureValue
public FutureValue()
-
-
Method Details
-
cancel
public boolean cancel(boolean arg0) -
get
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
-
get
- Specified by:
get
in interfaceFuture<V>
- Throws:
InterruptedException
TimeoutException
-
get
- Throws:
InterruptedException
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceFuture<V>
-
isDone
public boolean isDone() -
set
-