- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for RunnableFuture (0.34 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractListeningExecutorService.java
import com.google.errorprone.annotations.CheckReturnValue; import java.util.concurrent.AbstractExecutorService; import java.util.concurrent.Callable; import java.util.concurrent.RunnableFuture; import org.jspecify.annotations.Nullable; /** * Abstract {@link ListeningExecutorService} implementation that creates {@link ListenableFuture}Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 17:47:46 GMT 2025 - 3K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/TrustedListenableFutureTask.java
import com.google.common.annotations.GwtCompatible; import com.google.j2objc.annotations.WeakOuter; import java.util.concurrent.Callable; import java.util.concurrent.RunnableFuture; import org.jspecify.annotations.Nullable; /** * A {@link RunnableFuture} that also implements the {@link ListenableFuture} interface. * * <p>This should be used in preference to {@link ListenableFutureTask} when possible for * performance reasons.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 5.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
TestListeningExecutorService e = new TestListeningExecutorService(); TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable); assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture.isDone()); assertTrue(runnable.run); ListenableFuture<String> callableFuture = e.submit(new TestCallable());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AbstractListeningExecutorServiceTest.java
TestListeningExecutorService e = new TestListeningExecutorService(); TestRunnable runnable = new TestRunnable(); ListenableFuture<?> runnableFuture = e.submit(runnable); assertThat(runnableFuture).isInstanceOf(TrustedListenableFutureTask.class); assertTrue(runnableFuture.isDone()); assertTrue(runnable.run); ListenableFuture<String> callableFuture = e.submit(new TestCallable());Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 3.4K bytes - Click Count (0)