package threadPool; public class FunzioneSemplice implements Compute { public Integer compute(Integer x) { int i = x.intValue() + 1; return new Integer(i); // return (++x); } }