@@ -0,0 +1,1762 @@
+package com.speedment.common.function.collector;%0A%0Aimport com.speedment.common.function.ToLongFunction;%0A%0Aimport java.util.Set;%0Aimport java.util.function.BinaryOperator;%0Aimport java.util.function.Supplier;%0Aimport java.util.stream.Collector;%0A%0A/**%0A * Primitive collector that operates on %7B@code byte%7D values, resulting in a%0A * single %7B@code long%7D.%0A *%0A * @param %3CA%3E  the intermediary accumulating type%0A *%0A * @author Emil Forslund%0A * @since  1.0.3%0A */%0Apublic interface ByteToLongCollector%3CA%3E %7B%0A%0A    /**%0A     * Returns a supplier that can create an intermediary accumulating object.%0A     *%0A     * @return  the supplier for the accumulating object%0A     * @see Collector#supplier()%0A     */%0A    Supplier%3CA%3E supplier();%0A%0A    /**%0A     * Stateless function that takes an accumulating object returned by%0A     * %7B@link #supplier()%7D and adds a single %7B@code byte%7D value to it.%0A     *%0A     * @return  the accumulator%0A     * @see Collector#accumulator()%0A     */%0A    ObjByteConsumer%3CA%3E accumulator();%0A%0A    /**%0A     * Stateless function that takes two accumulating objects and returns a%0A     * single one representing the combined result. This can be either one of%0A     * the two instances or a completely new instance.%0A     *%0A     * @return  the combiner%0A     * @see Collector#combiner()%0A     */%0A    BinaryOperator%3CA%3E combiner();%0A%0A    /**%0A     * Returns a finisher function that takes an accumulating object and turns%0A     * it into the final %7B@code long%7D.%0A     *%0A     * @return  the finisher%0A     * @see Collector#finisher()%0A     */%0A    ToLongFunction%3CA%3E finisher();%0A%0A    /**%0A     * Returns a set of characteristics for this collector.%0A     *%0A     * @return  characteristics%0A     * @see Collector#characteristics()%0A     */%0A    Set%3CCollector.Characteristics%3E characteristics();%0A%0A%7D%0A

Add template for ByteToLongCollector