Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for things (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        if (ATOMIC_HELPER.casValue(this, null, valueToSet)) {
          complete(this, /*callInterruptTask=*/ false);
          return true;
        }
        return false;
      }
    
      /**
       * Sets the failed result of this {@code Future} unless this {@code Future} has already been
       * cancelled or set (including {@linkplain #setFuture set asynchronously}). When a call to this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      }
    
      private void forceSet(V value) {
        this.value = value;
        this.state = State.VALUE;
        notifyAndClearListeners();
      }
    
      @CanIgnoreReturnValue
      protected boolean setFuture(ListenableFuture<? extends V> future) {
        checkNotNull(future);
    
        // If this future is already cancelled, cancel the delegate.
        // TODO(cpovirk): Should we do this at the end of the method, as in the server version?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
Back to top