Package java.util
Class ArrayList
Description:
Returns the number of elements in this list.
Example
ArrayList aList = new ArrayList(5);
Logger.log("number of currently stored elements in the ArrayList: " + aList.size());
The example above returns the number of elements in the ArrayList.