Class GenericCollector

java.lang.Object
org.javimmutable.collections.GenericCollector

public final class GenericCollector extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static <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)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait