I was wondering if anyone knows the growth policy of ArrayList in Java 1.6? The java doc says
The details of the growth policy are not specified beyond the fact that adding an element has constant amortized time cost.
But I just wonder the details because I know the size I'm targeting to start but I want to make sure I'm making the initial size big enough to not cause an instant resize. I know with HashMap you can set a load factor is there something similar happening in the back ground? Or is it always growing when space is out?