title: Java - How to filter 2D string array
body: <p>I have the 2D object array rowData[][]</p>
  
  <p>The array is initialized as follows:</p>
  
  <pre><code>List rows = new ArrayList();
  while(rs.next()) {
     String[] row = new String[columnCount];
     for(int i = 1; i &lt;= columnCount; i++){
        row[i-1] = rs.getString(i);
     }
     rows.add(row);
  }
  String[][] rowData = (String[][])rows.toArray(new String[rows.size()][columnCount]);
  </code></pre>
  
  <pre><code>System.out.println(Arrays.deepToString(rowData));
  </code></pre>
  
  <p>gives me the output:</p>
  
  <pre><code>[[AUDI, A1, 16890.0, BLAU, 6292, 2018-03-12, 82,  1.0 TFSI, BENZIN, KLEINWAGEN, 1, 9PGAUBB646B8BA022], [AUDI, A5, 39500.0, GOLD, 25000, 2016-07-04, 224, 2.0 TFSI, BENZIN, LIMOUSINE, 1, GWAUZZZ8P8BA06423]]
  </code></pre>
  
  <p>Is it possible to filter out specific criteria like "Audi" or "16890.0"?
  I only found help for filtering out integers.
  Thanks in advance.</p>