- java.lang.Object
-
- ch.bind.philib.util.FinishedFuture<T>
-
-
Constructor Summary
Constructors Constructor Description FinishedFuture(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel(boolean mayInterruptIfRunning)Tget()Tget(long timeout, TimeUnit unit)booleanisCancelled()booleanisDone()
-
-
-
Constructor Detail
-
FinishedFuture
public FinishedFuture(T value)
-
-
Method Detail
-
cancel
public boolean cancel(boolean mayInterruptIfRunning)
-
isCancelled
public boolean isCancelled()
- Specified by:
isCancelledin interfaceFuture<T>
-
-