public void scan(GenericArray res, Operator.Pointwise op) {
public void scan(GenericArray res, Operator.Unary op) {
	public void scan(GenericArray res, Operator.Pointwise op) {		assert res == null || res instanceof GenericArray;		assert res.distribution.equals(distribution);		place here = x10.lang.Runtime.runtime.currentPlace();		GenericArray res_t = (res == null) ? null : (GenericArray) res;		try {			for (Iterator it = distribution.region.iterator(); it.hasNext();) {				point p = (point) it.next();				place pl = distribution.get(p);				x10.lang.Runtime.runtime.setCurrentPlace(pl);				Parameter1 val = op.apply(p, (Parameter1)null);				if (res_t != null)					res_t.set(val, p);			}		} finally {			x10.lang.Runtime.runtime.setCurrentPlace(here);		}	}