Retrieves an array containing all the items in the list.
public Object[] getAllItems()
public Object[] getAllItems( Class cls )
public Object[] getAllItems( Object[] val )
public Object[] getAllItems( Object[] val, int offset )
cls
The class to make the array. The resulting array will be this type.
val
The array to populate.
offset
The offset in the val parameter at which to start inserting items.
Returns the Object array containing all items in the list.
WFCInvalidArgumentException thrown if the val parameter is too small to hold the contents of the list or if the offset parameter is out of bounds.