title: Get String from ArrayList inside an ArrayList inside an ArrayList
body: <p>I need to get three levels down into an array list. Here is my code on how I create the final product "rowList":</p>
  
  <pre><code>ArrayList&lt;ArrayList&gt; rowList = new ArrayList&lt;ArrayList&gt;();
  ArrayList&lt;ArrayList&lt;String&gt;&gt; appList =new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
  ArrayList&lt;String&gt; arr = new ArrayList&lt;String&gt;();
  
  int Id = -1;
  int cc = rsmd.getColumnCount();
  while(rs.next()){
      if(Id == -1){
          arr.add(rs.getString("name"));
          Id= Integer.parseInt(rs.getString("Id"));
      }
      if(Id!= Integer.parseInt(rs.getString("Id"))){
          Id= Integer.parseInt(rs.getString("Id"));
          rowList.add(appList);
          appList = new ArrayList&lt;ArrayList&lt;String&gt;&gt;();
          arr.add(rs.getString("name"));
  
      }
  
      for(int i=2; i &lt; rsmd.getColumnCount();i++){
          arr.add(rs.getString(rsmd.getColumnName(i)));
      }
      appList.add(arr);
      arr = new ArrayList&lt;&gt;();
  }
  rowList.add(appList);
  </code></pre>
  
  <p>So in the end rowlist will look something like this:</p>
  
  <pre><code>[0]
    [0]
     [0]Property 1
     [1]Property 2
     [2]Property 3
    [1]
     [0]Property 1
     [1]Property 2
     [2]Property 3
  [1]
    [0]
     [0]Property 1
     [1]Property 2
     [2]Property 3
    [1]
     [0]Property 1
     [1]Property 2
     [2]Property 3
  </code></pre>
  
  <p>So my question would be how to get to the properties, the last level in the nested array? I can use rowList.get(0).get(0).toString() to return the string array, but rowList.get(0).get(0).get(0) doesn't work, and instead gives the error: cannot find symbol.</p>
  
  <p>I would also like to be able to remove a property after I've retrieved it and set it to a string. That part can easily be worked around though, so it isn't vital.</p>