static A[] toArrayOfType(Class type, L l) { ret unnull(l).toArray(arrayOfType(type, l(l))); }