Join Slack
Powered by
Sure. I want something like class CSVParser<T&g...
# announcements
d
Dominik.sittel
02/09/2018, 2:36 PM
Sure. I want something like class CSVParser<T>(file : String) { ... convertedData.add(T(line)) } So that I can use the constructor. But how can I tell the compiler that the given generic class has a constructor?
4
Views
Open in Slack
Previous
Next