title: Can I convert ArrayList<HashMap> type to List<Map> in Java?
body: <p>Can I convert <code>ArrayList&lt;HashMap&gt;</code> type to <code>List&lt;Map&gt;</code> in Java?
  Otherwise, what is the official or recommended workaround?</p>
  
  <p>I have two interfaces with two different but similar types - <code>ArrayList&lt;HashMap&gt;</code> and <code>List&lt;Map&gt;</code>, and I need to pass data from one interface to another.</p>
  
  <p>Thanks in advance.</p>