Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for immediateVoidFuture (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    import static com.google.common.util.concurrent.Futures.immediateFailedFuture;
    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static com.google.common.util.concurrent.Futures.immediateVoidFuture;
    import static com.google.common.util.concurrent.ReflectionFreeAssertThrows.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import java.util.concurrent.CancellationException;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

        TestCallable secondCallable = new TestCallable(immediateVoidFuture());
        ListenableFuture<@Nullable Void> secondFuture =
            serializer.submitAsync(secondCallable, directExecutor());
        TestCallable thirdCallable = new TestCallable(immediateVoidFuture());
        @SuppressWarnings({"unused", "nullness"})
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 16.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        // oldFuture completes.
        Runnable listener =
            () -> {
              if (taskFuture.isDone()) {
                // Since the value of oldFuture can only ever be immediateVoidFuture() or setFuture of a
                // future that eventually came from immediateVoidFuture(), this doesn't leak throwables
                // or completion values.
                newFuture.setFuture(oldFuture);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

        // oldFuture completes.
        Runnable listener =
            () -> {
              if (taskFuture.isDone()) {
                // Since the value of oldFuture can only ever be immediateVoidFuture() or setFuture of a
                // future that eventually came from immediateVoidFuture(), this doesn't leak throwables
                // or completion values.
                newFuture.setFuture(oldFuture);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
Back to Top