Join Slack
Powered by
I'd pass in a factory method, which can just be a ...
# announcements
d
diesieben07
02/09/2018, 2:38 PM
I'd pass in a factory method, which can just be a function:
(String) -> T
, then you can pass in
::MyClass
(assuming
T
is
MyClass
) to reference the constructor when calling
CSVParser
.
4
Views
Open in Slack
Previous
Next