Package java.util
Class ArrayList

Public Method size

int size()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

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.