Class StreamUtil


  • public class StreamUtil
    extends java.lang.Object
    Java Stream related operations.
    • Constructor Summary

      Constructors 
      Constructor Description
      StreamUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <T1,​T2,​R>
      java.util.stream.Stream<R>
      zip​(java.util.stream.Stream<? extends T1> a, java.util.stream.Stream<? extends T2> b, java.util.function.BiFunction<? super T1,​? super T2,​? extends R> zipper)  
      • Methods inherited from class java.lang.Object

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

      • StreamUtil

        public StreamUtil()
    • Method Detail

      • zip

        public static <T1,​T2,​R> java.util.stream.Stream<R> zip​(java.util.stream.Stream<? extends T1> a,
                                                                           java.util.stream.Stream<? extends T2> b,
                                                                           java.util.function.BiFunction<? super T1,​? super T2,​? extends R> zipper)