title: how to get a boolean from ArrayList in processing
body: <p>I have an <code>ArrayList</code>, "list", that contains one value, true. However, when i write:</p>
  
  <p><code>if (list.get(0)==true)</code> </p>
  
  <p>I get the error "incompatible operand types Object and boolean". Is <code>ArrayList.get()</code> method always return <code>object</code>? if so, how can I get the <code>boolean</code> value?</p>
  
  <p>thanks.</p>