Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Dailey (2.23 sec)

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

        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
      public void testAllAsList_singleFailure() throws Exception {
        Throwable exception = new Throwable("failed");
        ListenableFuture<String> future = immediateFailedFuture(exception);
        ListenableFuture<List<String>> compound = allAsList(ImmutableList.of(future));
    
        try {
          getDone(compound);
          fail();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

              for (K key : keysToLoad) {
                V value = newEntries.get(key);
                if (value == null) {
                  throw new InvalidCacheLoadException("loadAll failed to return a value for " + key);
                }
                result.put(key, value);
              }
            } catch (UnsupportedLoadingOperationException e) {
              // loadAll not implemented, fallback to load
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
      public void testAllAsList_singleFailure() throws Exception {
        Throwable exception = new Throwable("failed");
        ListenableFuture<String> future = immediateFailedFuture(exception);
        ListenableFuture<List<String>> compound = allAsList(ImmutableList.of(future));
    
        try {
          getDone(compound);
          fail();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

     * ways similar to {@link FluentFuture}s:
     *
     * <ul>
     *   <li>by transforming the value from a successful input step,
     *   <li>by catching the exception from a failed input step, or
     *   <li>by combining the results of several input steps.
     * </ul>
     *
     * Each derivation can capture the next value or any intermediate objects for later closing.
     *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

              for (K key : keysToLoad) {
                V value = newEntries.get(key);
                if (value == null) {
                  throw new InvalidCacheLoadException("loadAll failed to return a value for " + key);
                }
                result.put(key, value);
              }
            } catch (UnsupportedLoadingOperationException e) {
              // loadAll not implemented, fallback to load
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
Back to top