| java.util.ArrayList javax.management.relation.RoleUnresolvedList
RoleUnresolvedList | public class RoleUnresolvedList extends ArrayList (Code) | | A RoleUnresolvedList represents a list of RoleUnresolved objects,
representing roles not retrieved from a relation due to a problem
encountered whe trying to access (read or write to roles)
|
Constructor Summary | |
public | RoleUnresolvedList() Constructs an empty RoleUnresolvedList. | public | RoleUnresolvedList(int theInitialCapacity) Constructs an empty RoleUnresolvedList with the initial capacity specified. | public | RoleUnresolvedList(List theList) Constructs a RoleUnresolvedList containing the elements of the ArrayList
specified, in the order in which they are returned by the ArrayList's
iterator. |
Method Summary | |
public void | add(int theIndex, RoleUnresolved theRoleUnres) Inserts the unresolved role specified as an element at the position
specified. | public void | add(RoleUnresolved theRoleUnres) Adds the RoleUnresolved specified as the last element of the list. | public boolean | addAll(int theIndex, RoleUnresolvedList theRoleUnresolvedList) 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: theIndex - - - Position at which to insert the first element fromthe RoleUnresolvedList specified. Parameters: theRoleUnresolvedList - - - Elements to be inserted into the list. throws: java.lang.IllegalArgumentException - - if the role is null. throws: java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list. | public boolean | addAll(RoleUnresolvedList theRoleUnresolvedList) Appends all the elements in the RoleUnresolvedList specified to the end
of the list, in the order in which they are returned by the Iterator of
the RoleUnresolvedList specified. | public java.lang.Object | clone() Cloning Returns a new RoleList, but no copy of the included elements. | public void | set(int theIndex, RoleUnresolved theRoleUnres) Sets the element at the position specified to be the unresolved role
specified. |
RoleUnresolvedList | public RoleUnresolvedList()(Code) | | Constructs an empty RoleUnresolvedList.
|
RoleUnresolvedList | public RoleUnresolvedList(int theInitialCapacity)(Code) | | Constructs an empty RoleUnresolvedList with the initial capacity specified.
Parameters: theInitialCapacity - - initial capacity |
RoleUnresolvedList | public RoleUnresolvedList(List theList) throws IllegalArgumentException(Code) | | Constructs a RoleUnresolvedList containing the elements of the ArrayList
specified, in the order in which they are returned by the ArrayList's
iterator. The RoleUnresolvedList instance has an initial capacity
of 110% of the size of the ArrayList specified.
Parameters: theList - - list of RoleUnresolved objects exception: java.lang.IllegalArgumentException - - if:- null parameter or- an element in the ArrayList is not a RoleUnresolved |
addAll | public boolean addAll(int theIndex, RoleUnresolvedList theRoleUnresolvedList) throws IllegalArgumentException, IndexOutOfBoundsException(Code) | | 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: theIndex - - - Position at which to insert the first element fromthe RoleUnresolvedList specified. Parameters: theRoleUnresolvedList - - - Elements to be inserted into the list. throws: java.lang.IllegalArgumentException - - if the role is null. throws: java.lang.IndexOutOfBoundsException - - if accessing with anindex outside of the list. True if the operation is successful otherwise false |
addAll | public boolean addAll(RoleUnresolvedList theRoleUnresolvedList) throws IndexOutOfBoundsException(Code) | | Appends all the elements in the RoleUnresolvedList specified to the end
of the list, in the order in which they are returned by the Iterator of
the RoleUnresolvedList specified.
Parameters: theRoleUnresolvedList - - - Elements to be inserted intothe list (can be null). exception: java.lang.IndexOutOfBoundsException - - if accessing withan index outside of the list. |
clone | public java.lang.Object clone()(Code) | | Cloning Returns a new RoleList, but no copy of the included elements.
Overrides:
clone in class java.util.ArrayList
A new RoleList, but no copy of the included elements. |
|
|