public ArrayList (int initialCapacity)

Constructs an empty list with the specified initial capacity.

Parameters:
initialCapacity    the initial capacity of the list

Exceptions:
IllegalArgumentException    if the specified initial capacity is negative