title: Converting list of objects to key value pair in java
body: <p>I have java list of objects
  <code>[["X","10"],["y","20"],["Z","30"]]</code></p>
  
  <p>How do I convert this to key value pair?
  I want it to be </p>
  
  <p>key:value
  X:10
  y:20
  Z:30</p>
  
  <p>Thanks</p>