Uses of Interface
org.javimmutable.collections.Func2
Package
Description
-
Uses of Func2 in org.javimmutable.collections
Modifier and TypeMethodDescriptionstatic <T,
C> java.util.stream.Collector <T, ?, C> GenericCollector.ordered
(C initialValue, C empty, java.util.function.Predicate<C> isEmpty, Func2<C, T, C> adder, Func2<C, C, C> combiner) default <V> V
Apply the specified accumulator to all elements in iterator order calling the accumulator function for each element.static <T,
C> java.util.stream.Collector <T, ?, C> GenericCollector.unordered
(C initialValue, C empty, java.util.function.Predicate<C> isEmpty, Func2<C, T, C> adder, Func2<C, C, C> combiner) -
Uses of Func2 in org.javimmutable.collections.list
-
Uses of Func2 in org.javimmutable.collections.util
Modifier and TypeMethodDescriptionstatic <T,
R> R Calls func for every value in iterator passing in the accumulator and each value as parameters and setting accumulator to the result.static <T,
R> R Calls func for every value in iterator from right to left (i.e.