Class Async.Single<T>

    • Field Summary

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

      Constructors 
      Modifier Constructor Description
      private Single()  
    • 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

      • completableFuture

        private java.util.concurrent.CompletableFuture<T> completableFuture
      • ix

        private int ix
    • Constructor Detail

      • Single

        private Single()
    • 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>