Retrieves an array containing the items in the list starting at the specified index for a designated number of items.
public Object[] getItems( int src, int count )
public Object[] getItems( int src, int count, Class cls )
public Object[] getItems( int src, int count, Object[] val )
public Object[] getItems( int src, int count, Object[] val, int dst )
src
The index to start retrieving items from.
count
The number of items to retrieve.
cls
The class to make the array. The resulting array will be this type.
val
The array to populate.
dst
The index in the val parameter at which to start inserting items.
Returns the Object array containing all requested items.
WFCInvalidArgumentException thrown if the src parameter is greater than the item count or less than zero, the count parameter is out of bounds, or the index parameter is out of bounds.
The resulting array will be of type cls if it is specified.