Package com.altova.automation.libs
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
-
Constructor Details
-
COMIDispatchConstIterator
Create new iterator for a list and set it to the first (index 1) element.- Parameters:
list- the list to iterate.
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfacejava.util.Iterator<LIST extends COMIDispatchConstList<ELEMENT>>
-
next
- Specified by:
nextin interfacejava.util.Iterator<LIST extends COMIDispatchConstList<ELEMENT>>
-
remove
public void remove()Do nothing as this kind of iterator does not support removal of elements.- Specified by:
removein interfacejava.util.Iterator<LIST extends COMIDispatchConstList<ELEMENT>>
-