com.ibm.itim.common
Class AttributeChangeIterator

java.lang.Object
  |
  +--com.ibm.itim.common.AttributeChangeIterator

public class AttributeChangeIterator
extends java.lang.Object

Iterates over a collection of AttributeChangeOperation objects


Constructor Summary
AttributeChangeIterator(java.util.Collection collection)
          Creates new AttributeChangeIterator.
 
Method Summary
 boolean hasNext()
          Determines whether there is another element in the sequence
 AttributeChangeOperation next()
          Gets the next element in the sequence and advances the iterator
 void remove()
          Remove the last element returned by the iterator.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeChangeIterator

public AttributeChangeIterator(java.util.Collection collection)
Creates new AttributeChangeIterator. Should be instantiated by a AttributeChanges object

Parameters:
collection - Collection of AttributeChangeOperation
Method Detail

hasNext

public boolean hasNext()
Determines whether there is another element in the sequence

Returns:
True if there is at least one more element

next

public AttributeChangeOperation next()
Gets the next element in the sequence and advances the iterator

Returns:
The next element in the sequence

remove

public void remove()
            throws java.lang.IllegalStateException
Remove the last element returned by the iterator. This method can be called only once per call to next.

Throws:
java.lang.IllegalStateException - if the next method has not yet been called, or the remove method has already been called after the last call to the next method.


IBM Tivoli Identity Manager 4.6
© Copyright International Business Machines Corporation 2005. All rights reserved. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.