Overview | Methods | This Package | All Packages
Inserts items starting at the specified position.
Syntax
public void insertItems( int dst, Object[] items )
public void insertItems( int dst, Object[] items, int src, int count )
public void insertItems( int dst, List list )
public void insertItems( int dst, List list, int src, int count )
Parameters
dst
The index to start inserting items at.
items
The Object array of items to insert into the list.
src
The index in items to start inserting from.
count
The number of items to insert.
list
The list of items to insert into the list.
Exceptions
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.
Remarks
Any items with an index equal to or greater than the index parameter are shifted down.