Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Trusted (0.16 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

      static final boolean GENERATE_CANCELLATION_CAUSES = false;
    
      /**
       * Tag interface marking trusted subclasses. This enables some optimizations. The implementation
       * of this interface must also be an AbstractFuture and must not override or expose for overriding
       * any of the public methods of ListenableFuture.
       */
      interface Trusted<V extends @Nullable Object> extends ListenableFuture<V> {}
    
    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)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

                  // does nothing but delegate to this method.
                  AbstractFuture<?> trusted = (AbstractFuture<?>) futureToPropagateTo;
                  localValue = trusted.value;
                  if (localValue == null | localValue instanceof SetFuture) {
                    abstractFuture = trusted;
                    continue; // loop back up and try to complete the new future
                  }
                } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * that {@link #get} calls exactly the implementation of {@link AbstractFuture#get}.
       */
      abstract static class TrustedFuture<V extends @Nullable Object> extends FluentFuture<V>
          implements AbstractFuture.Trusted<V> {
        @CanIgnoreReturnValue
        @Override
        @ParametricNullness
        public final V get() throws InterruptedException, ExecutionException {
          return super.get();
        }
    
        @CanIgnoreReturnValue
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Verify.java

     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Verify.java

     *       class instead.
     *   <li>If checking an <i>impossible</i> condition (which <i>cannot</i> happen unless your own
     *       class or its <i>trusted</i> dependencies is badly broken), this is what ordinary Java
     *       assertions are for. Note that assertions are not enabled by default; they are essentially
     *       considered "compiled comments."
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon May 17 14:07:47 GMT 2021
    - 18.5K bytes
    - Viewed (0)
Back to top