title: Convert List<HashMap<String, Object>> to stream
body: <p>I have a list of this type <code>List&lt;HashMap&lt;String, Object&gt;&gt;</code> ResultSet that contains the result of a query to a database. 
  I wanted call stream() on the List object. How do I do that ?
  This code create my list:</p>
  
  <pre><code>public class ResultSetToMap {
      int Columns = 0;
      List&lt;Map&lt;String, String&gt;&gt; data = new ArrayList&lt;Map&lt;String, String&gt;&gt;();
      HashMap&lt;String, Object&gt; row = new HashMap&lt;&gt;();
  
      public List ResultSetToMap(ResultSet rs) throws SQLException {
          ResultSetMetaData md = rs.getMetaData();
          int columns = md.getColumnCount();
          List&lt;HashMap&lt;String, Object&gt;&gt; list = new ArrayList&lt;HashMap&lt;String, Object&gt;&gt;();
  
          while (rs.next()) {
              row = new HashMap&lt;String, Object&gt;(columns);
              for (int i = 1; i &lt;= columns; ++i) {
                  row.put(md.getColumnName(i), rs.getObject(i));
              }
              list.add(row);
          }
          return list;
  
      }
  }
  </code></pre>
  
  <p>I can query the list data in this way:</p>
  
  <pre><code>for (HashMap&lt;String, Object&gt; map : list) {
      for (Map.Entry&lt;String, Object&gt; entry : map.entrySet()) {
          System.out.println(entry.getKey() + " : " + entry.getValue());
      }
  }
  </code></pre>
  
  <p>And I want to make queries about those data later. Of the type:</p>
  
  <pre><code>films.stream()
      .filter(Film.LENGTH.greaterThan(60))
      .sorted(Film.TITLE)
      .forEach(System.out::println);
  </code></pre>