|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractCollection java.util.AbstractList java.util.ArrayList javax.management.relation.RoleUnresolvedList
A list of unresolved roles.
Revisions:
20020313 Adrian Brock:
Field Summary |
Fields inherited from class java.util.AbstractList |
modCount |
Constructor Summary | |
RoleUnresolvedList()
Construct an empty RoleUnresolvedList. |
|
RoleUnresolvedList(int initialCapacity)
Construct a RoleUnresolvedList with an initial capacity. |
|
RoleUnresolvedList(List list)
Construct a RoleUnresolvedList from a list. |
Method Summary | |
void |
add(int index,
RoleUnresolved roleUnresolved)
Adds an unresolved role at the specified location in the list. |
void |
add(RoleUnresolved roleUnresolved)
Appends a unresolved role to the end of the list. |
boolean |
addAll(int index,
RoleUnresolvedList roleUnresolvedList)
Inserts an unresolved role list at the specified location in the list. |
boolean |
addAll(RoleUnresolvedList roleUnresolvedList)
Appends an unresolved role list to the end of the list. |
Object |
clone()
Cloning. |
void |
set(int index,
RoleUnresolved roleUnresolved)
Sets an unresolved role at the specified location in the list. |
Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, removeRange, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
containsAll, remove, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
containsAll, equals, hashCode, iterator, listIterator, listIterator, remove, removeAll, retainAll, subList |
Constructor Detail |
public RoleUnresolvedList()
public RoleUnresolvedList(int initialCapacity)
initialCapacity
- the initial capacity.public RoleUnresolvedList(List list) throws IllegalArgumentException
list
- the list to copy from.
IllegalArgumentException
- for a null list or
an list element that is not a role unresolved.Method Detail |
public void add(RoleUnresolved roleUnresolved) throws IllegalArgumentException
roleUnresolved
- the new unresolved role.
IllegalArgumentException
- if the unresolved role is nullpublic void add(int index, RoleUnresolved roleUnresolved) throws IllegalArgumentException, IndexOutOfBoundsException
index
- the location at which to insert the unresolved role.roleUnresolved
- the new unresolved role.
IllegalArgumentException
- if the unresolved role is null
IndexOutOfBoundsException
- if there is no such index
in the listpublic boolean addAll(RoleUnresolvedList roleUnresolvedList) throws IndexOutOfBoundsException
roleUnresolvedList
- the unresolved role list to append (can be null).
IndexOutOfBoundsException
- if there is no such index
in the listpublic boolean addAll(int index, RoleUnresolvedList roleUnresolvedList) throws IllegalArgumentException, IndexOutOfBoundsException
index
- the location at which to insert the unresolved role list.roleUnresolvedList
- the unresolved role list to insert.
IllegalArgumentException
- if the unresolved role list is null
IndexOutOfBoundsException
- if there is no such index
in the listpublic void set(int index, RoleUnresolved roleUnresolved) throws IllegalArgumentException, IndexOutOfBoundsException
index
- the location of the unresolved role to replace.roleUnresolved
- the new unresolved role.
IllegalArgumentException
- if the unresolved role is null
IndexOutOfBoundsException
- if there is no such index
in the listpublic Object clone()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |