protected void run() { LambdaVoid<T> wrapped = new LambdaVoid<T>() { @Override public void call(T arg0) { beginIteration(); body.call(arg0); incrementCommitted(); } }; mappable.pmap(wrapped, this); }