| 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)
author: Young Yang |
Constructor Summary | |
public | RoleUnresolvedList() Constructs an empty RoleUnresolvedList. | public | RoleUnresolvedList(int initialCapacity) Constructs an empty RoleUnresolvedList with the initial capacity
specified. | public | RoleUnresolvedList(List roleUnresList) 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(RoleUnresolved roleUnres) Adds the RoleUnresolved specified as the last element of the list. | public void | add(int index, RoleUnresolved roleUnres) Inserts the unresolved role specified as an element at the position
specified. | public boolean | addAll(RoleUnresolvedList roleUnresolvedList) 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 boolean | addAll(int index, RoleUnresolvedList roleUnresolvedList) 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. | public Object | clone() Cloning
Returns a new RoleList, but no copy of the included elements. | public void | set(int index, RoleUnresolved roleUnres) 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 initialCapacity)(Code) | | Constructs an empty RoleUnresolvedList with the initial capacity
specified.
Parameters: initialCapacity - initial capacity |
RoleUnresolvedList | public RoleUnresolvedList(List roleUnresList) 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: roleUnresList - roleUnresList of RoleUnresolved objects exception: IllegalArgumentException - if:- null parameter or - an element in the ArrayList is not a RoleUnresolved |
add | public void add(int index, RoleUnresolved roleUnres) throws IllegalArgumentException, IndexOutOfBoundsException(Code) | | Inserts the unresolved role specified as an element at the position
specified.
Elements with an index greater than or equal to the current position are
shifted up.
Parameters: index - - The position in the list where the newRoleUnresolved object is to be inserted. Parameters: roleUnres - - The RoleUnresolved object to be inserted. exception: IllegalArgumentException - if the unresolved role is null. |
addAll | public boolean addAll(RoleUnresolvedList roleUnresolvedList) 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: roleUnresolvedList - - Elements to be inserted into the list(can be null). exception: IndexOutOfBoundsException - if accessing with an indexoutside of the list. |
addAll | public boolean addAll(int index, RoleUnresolvedList roleUnresolvedList) 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: index - - Position at which to insert the first element from theRoleUnresolvedList specified. Parameters: roleUnresolvedList - - Elements to be inserted into the list. exception: IllegalArgumentException - if the role is null. exception: IndexOutOfBoundsException - if accessing with an indexoutside of the list. |
clone | public Object clone()(Code) | | Cloning
Returns a new RoleList, but no copy of the included elements.
|
|
|