-
addAll
public boolean addAll(int index,
RoleUnresolvedList roleList)
throws IllegalArgumentException,
IndexOutOfBoundsException
Inserts all of the elements in the RoleUnresolvedList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleUnresolvedList specified.
-
Parameters:
-
index - - Position at which to insert the first element from the RoleUnresolvedList specified.
-
roleList - - Elements to be inserted into the list.
-
Returns:
- true if this list changed as a result of the call.
-
Throws:
-
IllegalArgumentException - if the role is null.
-
IndexOutOfBoundsException - if index is out of range (index < 0 || index > size() ).
|
-
addAll
public boolean addAll(int index,
RoleUnresolvedList roleList)
throws IllegalArgumentException,
IndexOutOfBoundsException
Inserts all of the elements in the RoleUnresolvedList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleUnresolvedList specified.
-
Parameters:
-
index - - Position at which to insert the first element from the RoleUnresolvedList specified.
-
roleList - - Elements to be inserted into the list.
-
Returns:
- true if this list changed as a result of the call.
-
Throws:
-
IllegalArgumentException - if the role is null.
-
IndexOutOfBoundsException - if index is out of range (index < 0 || index > size() ).
|