static O[] repArrayF(int n, O f, O... args) { O[] o = new O[n]; for i to n: o[i] = callF(f, args); ret o; }