-
addAll
public boolean addAllpublic boolean addAll(int index,
RoleList roleList)
throws IllegalArgumentException,
IndexOutOfBoundsException
Inserts all of the elements in the RoleList specified into this list, starting at the specified position, in the order in which they are returned by the Iterator of the RoleList specified.
-
Parameters:
-
index - Position at which to insert the first element from the RoleList 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 accessing with an index outside of the list.
-
See Also:
-
ArrayList.addAll(int, Collection)
|
|
|
|