Is it much more expensive to use ArrayList than a simple array in Java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/716597/array-or-list-in-java-which-is-faster">Array or List in Java. Which is faster?</a>  </p>
</blockquote>



<p>Is it much more expensive to use ArrayList than a simple array in Java?
I have lots of ArrayList and in some places I can use array, I am not sure
if I should go through the trouble of replacing them all.</p>

<p>Concretely, I can imagine get for ArrayList is more expensive than using
the operator [] for arrays.</p>

<p>Thanks</p>
