title: How java hashmap convert to list<String, Double>?
body: <p>I want convert variable map </p>
  
  <pre><code>HashMap&lt;String, Double&gt; map = new HashMap&lt;String, Double&gt;();
  </code></pre>
  
  <p>in <code>List&lt;Pay&gt;</code></p>
  
  <pre><code>List&lt;Pay&gt; res = new ArrayList&lt;Pay&gt;();
  </code></pre>
  
  <p>, where POJO <code>Pay</code> have variables <code>String</code> and <code>Double</code>.
  How I make conversion from <code>HashMap&lt;String, Double&gt;</code> to <code>List&lt;Pay&gt;</code>???</p>