static A[] typedArray(Class c, int n) { ret (A[]) Array.newInstance(c, n); }