Class Async.Many<T>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.util.concurrent.CompletableFuture<T>[] array  
      private int ix  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Many​(int size)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void add​(java.util.concurrent.CompletableFuture<T> completableFuture)  
      java.util.concurrent.CompletableFuture<java.util.List<T>> await()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • array

        private final java.util.concurrent.CompletableFuture<T>[] array
      • ix

        private int ix
    • Constructor Detail

      • Many

        private Many​(int size)
    • Method Detail

      • add

        public void add​(java.util.concurrent.CompletableFuture<T> completableFuture)
        Specified by:
        add in interface Async.CombinedBuilder<T>
      • await

        public java.util.concurrent.CompletableFuture<java.util.List<T>> await()
        Specified by:
        await in interface Async.CombinedBuilder<T>