List.getAllItems

Overview | Methods | This Package | All Packages

List.getAllItems

Retrieves an array containing all the items in the list.

Syntax

public Object[] getAllItems()

public Object[] getAllItems( Class cls )

public Object[] getAllItems( Object[] val )

public Object[] getAllItems( Object[] val, int offset )

Parameters

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.

Return Value

Returns the Object array containing all items in the list.

Exceptions

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.