Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ListFuture (0.23 sec)

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

      }
    
      abstract C combine(List<@Nullable Present<V>> values);
    
      /** Used for {@link Futures#allAsList} and {@link Futures#successfulAsList}. */
      static final class ListFuture<V extends @Nullable Object>
          extends CollectionFuture<V, List<@Nullable V>> {
        ListFuture(
            ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
            boolean allMustSucceed) {
          super(futures, allMustSucceed);
          init();
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.base.Preconditions;
    import com.google.common.collect.ImmutableList;
    import com.google.common.util.concurrent.CollectionFuture.ListFuture;
    import com.google.common.util.concurrent.ImmediateFuture.ImmediateCancelledFuture;
    import com.google.common.util.concurrent.ImmediateFuture.ImmediateFailedFuture;
    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)
  3. maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuilder.java

                    List<Future<List<ProjectBuildingResult>>> futures = executor.invokeAll(callables);
                    return futures.stream()
                            .map(listFuture -> {
                                try {
                                    return listFuture.get();
                                } catch (InterruptedException e) {
                                    uncheckedThrow(e);
                                    return null;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. android/pom.xml

                       builds with JDK8 began failing animal-sniffer with the error:
    
                       Failed to check signatures: Bad class file .../CollectionFuture$ListFuture.class
    
                       One way of dealing with that would be to disable
                       animal-sniffer. And that would be fine for our -jre builds:
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Mar 12 20:26:18 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(future1.wasInterrupted());
      }
    
      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        assertTrue(future1.wasInterrupted());
      }
    
      /**
       * Test the case where the futures are fulfilled prior to constructing the ListFuture. There was a
       * bug where the loop that connects a Listener to each of the futures would die on the last
       * loop-check as done() on ListFuture nulled out the variable being looped over (the list of
       * futures).
       */
      public void testAllAsList_doneFutures() throws Exception {
    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)
Back to top