Can anyone explain how the second constructor for ArrayList that takes a
size paramter works?  I assumed it would create an ArrayList and populate
it with some default value but it appear that if you construct an ArrayList
with for example "temp = new ArrayList(10)" and then check "temp.size()"
you get 0.  Why is this, and what is the purpose of this constructor?
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to