Class AndGatherer<T,​R>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.util.function.Supplier<T> valueSupplier1  
      protected java.util.function.Supplier<T> valueSupplier2  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AndGatherer​(java.util.function.Supplier<T> valueSupplier1)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      R and​(java.util.function.Supplier<T> valueSupplier2)  
      R and​(T value2)  
      protected abstract R build()  
      • Methods inherited from class java.lang.Object

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

      • valueSupplier1

        protected final java.util.function.Supplier<T> valueSupplier1
      • valueSupplier2

        protected java.util.function.Supplier<T> valueSupplier2
    • Constructor Detail

      • AndGatherer

        protected AndGatherer​(java.util.function.Supplier<T> valueSupplier1)
    • Method Detail

      • and

        public R and​(T value2)
      • and

        public R and​(java.util.function.Supplier<T> valueSupplier2)
      • build

        protected abstract R build()