Searched refs:future2 (Results 1 – 1 of 1) sorted by relevance
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | FuturesTest.java | 104 ListenableFuture<String> future2 = Futures.immediateFuture(DATA2); in testMultipleImmediateFutures() local 108 assertSame(DATA2, future2.get(0L, TimeUnit.MILLISECONDS)); in testMultipleImmediateFutures() 139 CheckedFuture<String, MyException> future2 = Futures.immediateCheckedFuture( in testMultipleImmediateCheckedFutures() local 145 assertSame(DATA2, future2.get(0L, TimeUnit.MILLISECONDS)); in testMultipleImmediateCheckedFutures() 146 assertSame(DATA2, future2.checkedGet(0L, TimeUnit.MILLISECONDS)); in testMultipleImmediateCheckedFutures() 540 SettableFuture<String> future2 = SettableFuture.create(); 544 Futures.allAsList(future1, future2, future3); 554 future2.set(DATA2); 590 SettableFuture<String> future2 = SettableFuture.create(); 593 Futures.allAsList(future1, future2); [all …]
|