I have an ArrayList of ArrayLists – something like ArrayList<ArrayList<Node>>.
Since I get this as a return value from a function, after every call a different size is called. I am wondering how to display its elements is such a way that the inner ArrayList constitutes one row and so for every row.
What would be my required parameter(s) for the for loop? Thanks in advance.
1 Answer