de.bea.domingo.proxy
Class BaseDocumentProxy.ItemsIterator

java.lang.Object
  extended by de.bea.domingo.proxy.BaseDocumentProxy.ItemsIterator
All Implemented Interfaces:
java.util.Iterator
Enclosing class:
BaseDocumentProxy

protected final class BaseDocumentProxy.ItemsIterator
extends java.lang.Object
implements java.util.Iterator

A ItemsIterator allows iteration over a set of lotus.domino.Item. #see getItems

Author:
MarcusT

Constructor Summary
protected BaseDocumentProxy.ItemsIterator(java.util.Vector itemsVector)
          Constructs an Iterator by use of a vector of lotus.domino.Items.
 
Method Summary
 boolean hasNext()
          Indicates whether this iterator has a next element or not.
 java.lang.Object next()
          Returns the next element of this iterator (hasNext()==true) or null if hasNext()==false.
 void remove()
          Throws an UnsupportedOperationException: The remove operation is not supported by this Iterator.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseDocumentProxy.ItemsIterator

protected BaseDocumentProxy.ItemsIterator(java.util.Vector itemsVector)
Constructs an Iterator by use of a vector of lotus.domino.Items.

Parameters:
itemsVector - a vector of lotus.domino.Items
Method Detail

hasNext

public boolean hasNext()
Indicates whether this iterator has a next element or not.

Specified by:
hasNext in interface java.util.Iterator
Returns:
boolean true if there is a next

next

public java.lang.Object next()
Returns the next element of this iterator (hasNext()==true) or null if hasNext()==false.

Specified by:
next in interface java.util.Iterator
Returns:
an DItem

remove

public void remove()
Throws an UnsupportedOperationException: The remove operation is not supported by this Iterator.

Specified by:
remove in interface java.util.Iterator


Domingo Java-API