Class ArrayList
See Sun's JDK 1.4 documentation for documentation.
This implementation differs from JDK 1.4 ArrayList
in terms of
capacity management. There is no speed advantage to pre-allocating array
sizes in JavaScript, so this implementation does not include any of the
capacity and "growth increment" concepts in the standard ArrayList class.
Although ArrayList(int)
accepts a value for the intitial
capacity of the array, this constructor simply delegates to
ArrayList()
. It is only present for compatibility with JDK
1.4's API.
Constructors
Methods