Class StreamUtil
java.lang.Object
org.apache.bookkeeper.common.util.StreamUtil
Java
Stream related operations.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T1,T2, R> Stream<R> zip(Stream<? extends T1> a, Stream<? extends T2> b, BiFunction<? super T1, ? super T2, ? extends R> zipper)
-
Constructor Details
-
StreamUtil
public StreamUtil()
-
-
Method Details
-
zip
public static <T1,T2, Stream<R> zipR> (Stream<? extends T1> a, Stream<? extends T2> b, BiFunction<? super T1, ? super T2, ? extends R> zipper)
-