2 ms·
Can you give an example? Most of the time when reflection is needed I see something like this instead of just a plain list type. <T> void foo(List<T> list
by TheCoelacanth 9y ago
Can you give an example?
Most of the time when reflection is needed I see something like this instead of just a plain list type.
<T> void foo(List<T> list, Class<? extends T> type) { ... }