title: Is it better to set size of a Java Collection in constructor?
body: <p>Is it better to pass the size of <code>Collection</code> to <code>Collection</code> constructor if I know the size at that point? Is the saving effect in regards to expanding <code>Collection</code> and allocating/re-allocating noticable?</p>
  
  <p>What if I know minimal size of the <code>Collection</code> but not the upper bound. It's still worth creating it at least with minimal size?</p>