title: Set every Integer in Arraylist to certain value
body: <p>I try to do it like this, but somehow it doesn't seem to work:</p>
  
  <p><code>ArrayList&lt;Integer&gt; possible_values= new ArrayList&lt;Integer&gt;();</code></p>
  
  <pre><code>public void setValueToZero(){
     for (Integer temp : possible_values) {
        temp=0;
     }
  }
  </code></pre>