Package org.javimmutable.collections
Class GenericCollector
java.lang.Object
org.javimmutable.collections.GenericCollector
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T,
C> java.util.stream.Collector <T, ?, C> ordered
(C initialValue, C empty, java.util.function.Predicate<C> isEmpty, Func2<C, T, C> adder, Func2<C, C, C> combiner) static <T,
C> java.util.stream.Collector <T, ?, C> unordered
(C initialValue, C empty, java.util.function.Predicate<C> isEmpty, Func2<C, T, C> adder, Func2<C, C, C> combiner)
-
Method Details
-
ordered
-
unordered
-