public void foo(Class<? super T> class, int size) { T[] array = (T[]) Array.newInstance(class, size); }
No comments:
Post a Comment