Comment Comment by brianbarker YES! to both parents here. Type erasure is a bitch.Need to pass in a class type, but it's of a list?List<YourType> list = new ArrayList<>(); yourfunc(list.getClass());C# got all this junk right. parent brianbarker 10 years ago
Need to pass in a class type, but it's of a list?
List<YourType> list = new ArrayList<>(); yourfunc(list.getClass());
C# got all this junk right.