title: Get Percentage of arraylist values from sum of arraylist
body: <p>i have an array list  where i have some value  arraylist like</p>
  
  <pre><code>ArrayList&lt;Integer&gt; keyList = new ArrayList&lt;Integer&gt;(treeMap.keySet());
  </code></pre>
  
  <p>Values here: <code>*62,58,10,6*</code>  i am getting some if value <code>*136.0*</code></p>
  
  <p>Now what i want is to get % of each  value and print them again as an arraylist  there something like this</p>
  
  <pre><code>*40%,34%,16%, 10%*
  </code></pre>