Class COMIDispatchConstIterator<LIST extends COMIDispatchConstList<ELEMENT>,​ELEMENT>

java.lang.Object
com.altova.automation.libs.COMIDispatchConstIterator<LIST,​ELEMENT>
All Implemented Interfaces:
java.util.Iterator<ELEMENT>
Direct Known Subclasses:
COMIDispatchIterator

public class COMIDispatchConstIterator<LIST extends COMIDispatchConstList<ELEMENT>,​ELEMENT>
extends java.lang.Object
implements java.util.Iterator<ELEMENT>
Common implementation for all iterators using standard COM iteration. Derive from this template and return as iterator. The list cannot be modified. Calls to remove will do nothing.
  • Constructor Summary

    Constructors 
    Constructor Description
    COMIDispatchConstIterator​(LIST list)
    Create new iterator for a list and set it to the first (index 1) element.
  • Method Summary

    Modifier and Type Method Description
    boolean hasNext()  
    ELEMENT next()  
    void remove()
    Do nothing as this kind of iterator does not support removal of elements.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.Iterator

    forEachRemaining