javax.management.relation
Class RoleUnresolvedList

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.util.AbstractCollection sample code for java.util.AbstractCollection definition code for java.util.AbstractCollection <E>
      extended by java.util.AbstractList sample code for java.util.AbstractList definition code for java.util.AbstractList <E>
          extended by java.util.ArrayList sample code for java.util.ArrayList definition code for java.util.ArrayList 
              extended by javax.management.relation.RoleUnresolvedList
All Implemented Interfaces:
Serializable sample code for java.io.Serializable definition code for java.io.Serializable , Cloneable sample code for java.lang.Cloneable definition code for java.lang.Cloneable , Iterable sample code for java.lang.Iterable definition code for java.lang.Iterable , Collection sample code for java.util.Collection definition code for java.util.Collection , List sample code for java.util.List definition code for java.util.List , RandomAccess sample code for java.util.RandomAccess definition code for java.util.RandomAccess

public class RoleUnresolvedList
extends ArrayList sample code for java.util.ArrayList definition code for java.util.ArrayList

A RoleUnresolvedList represents a list of RoleUnresolved objects, representing roles not retrieved from a relation due to a problem encountered when trying to access (read or write to roles).

Since:
1.5
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.AbstractList sample code for java.util.AbstractList definition code for java.util.AbstractList
modCount sample code for java.util.AbstractList.modCount definition code for java.util.AbstractList.modCount
 
Constructor Summary
RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList() definition code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList() ()
          Constructs an empty RoleUnresolvedList.
RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList(int) definition code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList(int) (int theInitialCapacity)
          Constructs an empty RoleUnresolvedList with the initial capacity specified.
RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList(java.util.List) definition code for javax.management.relation.RoleUnresolvedList.RoleUnresolvedList(java.util.List) (List sample code for java.util.List definition code for java.util.List  theList)
          Constructs a RoleUnresolvedList containing the elements of the List specified, in the order in which they are returned by the List's iterator.
 
Method Summary
 void add sample code for javax.management.relation.RoleUnresolvedList.add(int, javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.add(int, javax.management.relation.RoleUnresolved) (int index, RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
          Inserts the unresolved role specified as an element at the position specified.
 void add sample code for javax.management.relation.RoleUnresolvedList.add(javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.add(javax.management.relation.RoleUnresolved) (RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
          Adds the RoleUnresolved specified as the last element of the list.
 boolean addAll sample code for javax.management.relation.RoleUnresolvedList.addAll(int, javax.management.relation.RoleUnresolvedList) definition code for javax.management.relation.RoleUnresolvedList.addAll(int, javax.management.relation.RoleUnresolvedList) (int index, RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList definition code for javax.management.relation.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.
 boolean addAll sample code for javax.management.relation.RoleUnresolvedList.addAll(javax.management.relation.RoleUnresolvedList) definition code for javax.management.relation.RoleUnresolvedList.addAll(javax.management.relation.RoleUnresolvedList) (RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList definition code for javax.management.relation.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.
 void set sample code for javax.management.relation.RoleUnresolvedList.set(int, javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.set(int, javax.management.relation.RoleUnresolved) (int index, RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
          Sets the element at the position specified to be the unresolved role specified.
 
Methods inherited from class java.util.ArrayList sample code for java.util.ArrayList definition code for java.util.ArrayList
add sample code for java.util.ArrayList.add(E) definition code for java.util.ArrayList.add(E) , add sample code for java.util.ArrayList.add(int, E) definition code for java.util.ArrayList.add(int, E) , addAll sample code for java.util.ArrayList.addAll(java.util.Collection) definition code for java.util.ArrayList.addAll(java.util.Collection) , addAll sample code for java.util.ArrayList.addAll(int, java.util.Collection) definition code for java.util.ArrayList.addAll(int, java.util.Collection) , clear sample code for java.util.ArrayList.clear() definition code for java.util.ArrayList.clear() , clone sample code for java.util.ArrayList.clone() definition code for java.util.ArrayList.clone() , contains sample code for java.util.ArrayList.contains(java.lang.Object) definition code for java.util.ArrayList.contains(java.lang.Object) , ensureCapacity sample code for java.util.ArrayList.ensureCapacity(int) definition code for java.util.ArrayList.ensureCapacity(int) , get sample code for java.util.ArrayList.get(int) definition code for java.util.ArrayList.get(int) , indexOf sample code for java.util.ArrayList.indexOf(java.lang.Object) definition code for java.util.ArrayList.indexOf(java.lang.Object) , isEmpty sample code for java.util.ArrayList.isEmpty() definition code for java.util.ArrayList.isEmpty() , lastIndexOf sample code for java.util.ArrayList.lastIndexOf(java.lang.Object) definition code for java.util.ArrayList.lastIndexOf(java.lang.Object) , remove sample code for java.util.ArrayList.remove(int) definition code for java.util.ArrayList.remove(int) , remove sample code for java.util.ArrayList.remove(java.lang.Object) definition code for java.util.ArrayList.remove(java.lang.Object) , removeRange sample code for java.util.ArrayList.removeRange(int, int) definition code for java.util.ArrayList.removeRange(int, int) , set sample code for java.util.ArrayList.set(int, E) definition code for java.util.ArrayList.set(int, E) , size sample code for java.util.ArrayList.size() definition code for java.util.ArrayList.size() , toArray sample code for java.util.ArrayList.toArray() definition code for java.util.ArrayList.toArray() , toArray sample code for java.util.ArrayList.toArray(T[]) definition code for java.util.ArrayList.toArray(T[]) , trimToSize sample code for java.util.ArrayList.trimToSize() definition code for java.util.ArrayList.trimToSize()
 
Methods inherited from class java.util.AbstractList sample code for java.util.AbstractList definition code for java.util.AbstractList
equals sample code for java.util.AbstractList.equals(java.lang.Object) definition code for java.util.AbstractList.equals(java.lang.Object) , hashCode sample code for java.util.AbstractList.hashCode() definition code for java.util.AbstractList.hashCode() , iterator sample code for java.util.AbstractList.iterator() definition code for java.util.AbstractList.iterator() , listIterator sample code for java.util.AbstractList.listIterator() definition code for java.util.AbstractList.listIterator() , listIterator sample code for java.util.AbstractList.listIterator(int) definition code for java.util.AbstractList.listIterator(int) , subList sample code for java.util.AbstractList.subList(int, int) definition code for java.util.AbstractList.subList(int, int)
 
Methods inherited from class java.util.AbstractCollection sample code for java.util.AbstractCollection definition code for java.util.AbstractCollection
containsAll sample code for java.util.AbstractCollection.containsAll(java.util.Collection) definition code for java.util.AbstractCollection.containsAll(java.util.Collection) , removeAll sample code for java.util.AbstractCollection.removeAll(java.util.Collection) definition code for java.util.AbstractCollection.removeAll(java.util.Collection) , retainAll sample code for java.util.AbstractCollection.retainAll(java.util.Collection) definition code for java.util.AbstractCollection.retainAll(java.util.Collection) , toString sample code for java.util.AbstractCollection.toString() definition code for java.util.AbstractCollection.toString()
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 
Methods inherited from interface java.util.List sample code for java.util.List definition code for java.util.List
containsAll sample code for java.util.List.containsAll(java.util.Collection) definition code for java.util.List.containsAll(java.util.Collection) , equals sample code for java.util.List.equals(java.lang.Object) definition code for java.util.List.equals(java.lang.Object) , hashCode sample code for java.util.List.hashCode() definition code for java.util.List.hashCode() , iterator sample code for java.util.List.iterator() definition code for java.util.List.iterator() , listIterator sample code for java.util.List.listIterator() definition code for java.util.List.listIterator() , listIterator sample code for java.util.List.listIterator(int) definition code for java.util.List.listIterator(int) , removeAll sample code for java.util.List.removeAll(java.util.Collection) definition code for java.util.List.removeAll(java.util.Collection) , retainAll sample code for java.util.List.retainAll(java.util.Collection) definition code for java.util.List.retainAll(java.util.Collection) , subList sample code for java.util.List.subList(int, int) definition code for java.util.List.subList(int, int)
 

Constructor Detail

RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList() definition code for javax.management.relation.RoleUnresolvedList()

public RoleUnresolvedList()
Constructs an empty RoleUnresolvedList.


RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList(int) definition code for javax.management.relation.RoleUnresolvedList(int)

public RoleUnresolvedList(int theInitialCapacity)
Constructs an empty RoleUnresolvedList with the initial capacity specified.

Parameters:
theInitialCapacity - initial capacity

RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList(java.util.List) definition code for javax.management.relation.RoleUnresolvedList(java.util.List)

public RoleUnresolvedList(List sample code for java.util.List definition code for java.util.List  theList)
                   throws IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException 
Constructs a RoleUnresolvedList containing the elements of the List specified, in the order in which they are returned by the List's iterator. The RoleUnresolvedList instance has an initial capacity of 110% of the size of the List specified.

Parameters:
theList - list of RoleUnresolved objects
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if:

- null parameter

or

- an element in the List is not a RoleUnresolved

Method Detail

add sample code for javax.management.relation.RoleUnresolvedList.add(javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.add(javax.management.relation.RoleUnresolved)

public void add(RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
         throws IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException 
Adds the RoleUnresolved specified as the last element of the list.

Parameters:
theRoleUnres - - the unresolved role to be added.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the unresolved role is null.

add sample code for javax.management.relation.RoleUnresolvedList.add(int, javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.add(int, javax.management.relation.RoleUnresolved)

public void add(int index,
                RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
         throws IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException ,
                IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException 
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 new RoleUnresolved object is to be inserted.
theRoleUnres - - The RoleUnresolved object to be inserted.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the unresolved role is null.
IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException - if index is out of range (index < 0 || index > size()).

set sample code for javax.management.relation.RoleUnresolvedList.set(int, javax.management.relation.RoleUnresolved) definition code for javax.management.relation.RoleUnresolvedList.set(int, javax.management.relation.RoleUnresolved)

public void set(int index,
                RoleUnresolved sample code for javax.management.relation.RoleUnresolved definition code for javax.management.relation.RoleUnresolved  theRoleUnres)
         throws IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException ,
                IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException 
Sets the element at the position specified to be the unresolved role specified. The previous element at that position is discarded.

Parameters:
index - - The position specified.
theRoleUnres - - The value to which the unresolved role element should be set.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the unresolved role is null.
IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException - if index is out of range (index < 0 || index >= size()).

addAll sample code for javax.management.relation.RoleUnresolvedList.addAll(javax.management.relation.RoleUnresolvedList) definition code for javax.management.relation.RoleUnresolvedList.addAll(javax.management.relation.RoleUnresolvedList)

public boolean addAll(RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList definition code for javax.management.relation.RoleUnresolvedList  theRoleUnresolvedList)
               throws IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException 
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 into the list (can be null).
Returns:
true if this list changed as a result of the call.
Throws:
IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException - if accessing with an index outside of the list.

addAll sample code for javax.management.relation.RoleUnresolvedList.addAll(int, javax.management.relation.RoleUnresolvedList) definition code for javax.management.relation.RoleUnresolvedList.addAll(int, javax.management.relation.RoleUnresolvedList)

public boolean addAll(int index,
                      RoleUnresolvedList sample code for javax.management.relation.RoleUnresolvedList definition code for javax.management.relation.RoleUnresolvedList  theRoleUnresolvedList)
               throws IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException ,
                      IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException 
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 the RoleUnresolvedList specified.
theRoleUnresolvedList - - Elements to be inserted into the list.
Returns:
true if this list changed as a result of the call.
Throws:
IllegalArgumentException sample code for java.lang.IllegalArgumentException definition code for java.lang.IllegalArgumentException - if the role is null.
IndexOutOfBoundsException sample code for java.lang.IndexOutOfBoundsException definition code for java.lang.IndexOutOfBoundsException - if index is out of range (index < 0 || index > size()).