Please help me to render the following Java structure with StringTemplate:
List<List<String>> listOfListsOfStrings;
The output should be as follows (where ListXStringY is a string contained in position X, Y):
- List1String1, List1String2, ...
- List2String1, List2String2, List2String3, ...
- ...
- ListNString1, ...
The number of strings in different second-level lists can vary. Thank you!
Try using nested iterators:
Should print: