Product Site

5.3.11.1. new (Class Method)

Returns a new empty List object.

If you specify size, a hint how large the new List object is expected to grow, this is used to optimize the initial allocation.

size must be a non-negative whole number.