Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for succeed (0.68 sec)

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

      public static <V extends @Nullable Object> V getDone(Future<V> future) throws ExecutionException {
        /*
         * We throw IllegalStateException, since the call could succeed later. Perhaps we "should" throw
         * IllegalArgumentException, since the call could succeed with a different argument. Those
         * exceptions' docs suggest that either is acceptable. Google's Java Practices page recommends
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

      @Override
      public boolean isCancelled() {
        final Object localValue = value;
        return localValue instanceof Cancellation;
      }
    
      /**
       * {@inheritDoc}
       *
       * <p>If a cancellation attempt succeeds on a {@code Future} that had previously been {@linkplain
       * #setFuture set asynchronously}, then the cancellation will also be propagated to the delegate
       * {@code Future} that was supplied in the {@code setFuture} call.
       *
    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/collect/MapMakerInternalMap.java

          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
          return nextEntry();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
Back to top