java.lang.Object
java.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
javax.management.relation.RoleUnresolvedList
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Collection, java.util.List, java.util.RandomAccess, java.io.Serializable
- public class RoleUnresolvedList
- extends java.util.ArrayList
A list of unresolved roles.
Revisions:
20020313 Adrian Brock:
- Version:
- $Revision: 1.4.6.1 $
| Fields inherited from class java.util.ArrayList |
|
|
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. |
java.lang.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 |
RoleUnresolvedList
public RoleUnresolvedList()
- Construct an empty RoleUnresolvedList.
RoleUnresolvedList
public RoleUnresolvedList(int initialCapacity)
- Construct a RoleUnresolvedList with an initial capacity.
RoleUnresolvedList
public RoleUnresolvedList(java.util.List list)
throws java.lang.IllegalArgumentException
- Construct a RoleUnresolvedList from a list. It must be an ArrayList.
The order of the list is maintained.
add
public void add(RoleUnresolved roleUnresolved)
throws java.lang.IllegalArgumentException
- Appends a unresolved role to the end of the list.
add
public void add(int index,
RoleUnresolved roleUnresolved)
throws java.lang.IllegalArgumentException,
java.lang.IndexOutOfBoundsException
- Adds an unresolved role at the specified location in the list.
addAll
public boolean addAll(RoleUnresolvedList roleUnresolvedList)
throws java.lang.IndexOutOfBoundsException
- Appends an unresolved role list to the end of the list.
addAll
public boolean addAll(int index,
RoleUnresolvedList roleUnresolvedList)
throws java.lang.IllegalArgumentException,
java.lang.IndexOutOfBoundsException
- Inserts an unresolved role list at the specified location in the list.
set
public void set(int index,
RoleUnresolved roleUnresolved)
throws java.lang.IllegalArgumentException,
java.lang.IndexOutOfBoundsException
- Sets an unresolved role at the specified location in the list.
clone
public java.lang.Object clone()
- Cloning.
REVIEW: The spec says to return a RoleList, that's not very much
of a clone is it? It must be a typo in the RI.