Class CartesianProductUtil
java.lang.Object
ch.tocco.nice2.toolbox.api.collection.CartesianProductUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <L,
R, C> List <C> combineToList
(Collection<L> left, Collection<R> right, BiFunction<L, R, C> merger) static <L,
R, C> Stream <C> combineToStream
(Collection<L> left, Collection<R> right, BiFunction<L, R, C> merger)
-
Method Details
-
combineToList
public static <L,R, List<C> combineToListC> (Collection<L> left, Collection<R> right, BiFunction<L, R, C> merger) -
combineToStream
public static <L,R, Stream<C> combineToStreamC> (Collection<L> left, Collection<R> right, BiFunction<L, R, C> merger)
-