It has been a long time since I haven't written any Java and I get pretty confused with the <String, Integer>
in the following line (from the following documentation):
static class ComputeWordLengthFn extends DoFn<String, Integer> { ... }
I am not even sure that it is the generics concept that occurs here.
What should I understand regarding String
and Integer
here?
Documentation for DoFn: here