de.bea.domingo.proxy
Class ViewProxy.ViewEntriesIterator

java.lang.Object
  extended by de.bea.domingo.proxy.ViewProxy.ViewEntriesIterator
All Implemented Interfaces:
DNotesIterator, java.io.Serializable, java.util.Iterator
Enclosing class:
ViewProxy

public final class ViewProxy.ViewEntriesIterator
extends java.lang.Object
implements DNotesIterator

A ViewEntriesIterator allows iteration over a set of lotus.domino.ViewEntrys in view order. #see getAllEntries

Author:
Kurt Riede
See Also:
Serialized Form

Constructor Summary
protected ViewProxy.ViewEntriesIterator(lotus.domino.ViewEntryCollection theViewEntries)
          Constructs an Iterator by use of a vector of lotus.domino.Items.
 
Method Summary
protected  void finalize()
          The items iterator doesn't have to recycle anything.
 int getSize()
          Returns the number of objects in the iterator.
 boolean hasNext()
          
 java.lang.Object next()
          
 void remove()
          Throws an UnsupportedOperationException: The remove operation is not supported by this Iterator.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewProxy.ViewEntriesIterator

protected ViewProxy.ViewEntriesIterator(lotus.domino.ViewEntryCollection theViewEntries)
Constructs an Iterator by use of a vector of lotus.domino.Items.

Parameters:
theViewEntries - the ViewEntryCollection
Method Detail

getSize

public int getSize()
Returns the number of objects in the iterator.

Specified by:
getSize in interface DNotesIterator
Returns:
number of objects in the iterator
See Also:
DNotesIterator.getSize()

hasNext

public boolean hasNext()

Specified by:
hasNext in interface java.util.Iterator
See Also:
Iterator.hasNext()

next

public java.lang.Object next()

Specified by:
next in interface java.util.Iterator
See Also:
Iterator.next()

remove

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

Specified by:
remove in interface java.util.Iterator
See Also:
Iterator.remove()

finalize

protected void finalize()
                 throws java.lang.Throwable
The items iterator doesn't have to recycle anything. All Items created within this Iterator are recycled by the Notes API.

Overrides:
finalize in class java.lang.Object
Throws:
java.lang.Throwable - the Exception raised by this method
See Also:
Object.finalize()


Domingo Java-API