com.ibm.itim.common

Class AttributeChangeIterator

  • java.lang.Object
    • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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
      • Methods inherited from interface java.util.Iterator

        forEachRemaining
    • 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
      • 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.