Sets the number of items contained in the list.
public void setSize( int size )
size
The new number of items in the list.
WFCInvalidArgumentException thrown if the size is less than zero.
If the new size is larger that the old size, the new items are populated with null values. If the new size is smaller than the old size, items are removed.