com.ibm.itim.common
Class AttributeChangeIterator

java.lang.Object
  extended by com.ibm.itim.common.AttributeChangeIterator
All Implemented Interfaces:
java.util.Iterator<AttributeChangeOperation>

public class AttributeChangeIterator
extends java.lang.Object
implements java.util.Iterator<AttributeChangeOperation>

Iterates over a collection of AttributeChangeOperation objects


Constructor Summary
AttributeChangeIterator(java.util.Collection<AttributeChangeOperation> 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<AttributeChangeOperation> 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

Specified by:
hasNext in interface java.util.Iterator<AttributeChangeOperation>
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

Specified by:
next in interface java.util.Iterator<AttributeChangeOperation>
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.

Specified by:
remove in interface java.util.Iterator<AttributeChangeOperation>
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 Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.