title: how to separate a map collection into multiple lists
body: <p>I have a Map collection that contains a list of productId, quantity, and no of orders in the form <strong>productId=[quantity, no of orders]</strong>. the map collection is like</p>
  <pre><code>{pid0000013=[1238, 1], pid000003=[581, 1], pid0000034=[2929, 1], pid0000032=[1357, 1], pid0000051=[799, 1], pid0000050=[518, 1], pid0000019=[836, 1], pid0000018=[946, 1], pid0000039=[1992, 1], pid0000016=[3026, 2], pid0000037=[528, 1], pid0000014=[1966, 1], pid0000036=[1632, 1], pid0000046=[2472, 2], pid0000045=[733, 1], pid0000023=[2308, 1], pid0000044=[3205, 2], pid0000043=[2521, 2], pid0000021=[369, 1], pid0000042=[822, 1], pid0000041=[1515, 1], pid0000040=[491, 1], pid0000029=[2230, 1], pid0000028=[645, 1], pid0000049=[190, 1], pid0000027=[1897, 1], pid0000048=[1594, 1], pid0000026=[1536, 1], pid0000047=[3071, 2]}
  </code></pre>
  <p>for each productId, there is a quantity and no, of orders. the code was returned in java.
  my requirement is I want to separate productIds,quantities, and no, of orders into 3 different lists like</p>
  <pre><code>[pid0000013,pid000003,pid0000034,pid0000032,pid0000051 and so on]
  </code></pre>
  <pre><code>[1238,581,2929,1357,799 and so on]
  </code></pre>
  <pre><code>[1,1,1,1,1 and so on]
  </code></pre>
  <p>the quantity and no, of orders should match the productId to which they are related.
  how shall I achieve this in java?</p>