* the vector accumulator
* @return an accumulator procedure
*/
public static VectorProcedure asAccumulatorProcedure(final VectorAccumulator accumulator) {
return new VectorProcedure() {
@Override
public void apply(int i, byte value) {
accumulator.update(i, value);