Lines Matching refs:future
70 final CheckedFuture<Boolean, ?> future =
73 assertFalse(future.isDone());
74 assertFalse(future.isCancelled());
79 future.cancel(true);
84 future.checkedGet();
90 assertTrue(future.isDone());
91 assertTrue(future.isCancelled());
97 final CheckedFuture<Boolean, ?> future =
103 assertFalse(future.isDone());
104 assertFalse(future.isCancelled());
112 future.checkedGet();
129 assertFalse(future.isDone());
130 assertFalse(future.isCancelled());
134 final CheckedFuture<Boolean, ?> future =
137 assertFalse(future.isDone());
138 assertFalse(future.isCancelled());
148 future.checkedGet();
154 assertTrue(future.isDone());
155 assertFalse(future.isCancelled());