de.bea.domingo.proxy
Class ViewProxy.ViewNavigatorIterator

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

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

Uses a ViewNavigator to iterate over all entries in a view, starting with a given entry.

Author:
Kurt Riede
See Also:
Serialized Form

Constructor Summary
protected ViewProxy.ViewNavigatorIterator(lotus.domino.ViewNavigator theViewNavigator, DViewEntry currentEntry)
          Constructs an Iterator using a ViewNavigator and a current entry to start from.
 
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.ViewNavigatorIterator

protected ViewProxy.ViewNavigatorIterator(lotus.domino.ViewNavigator theViewNavigator,
                                          DViewEntry currentEntry)
Constructs an Iterator using a ViewNavigator and a current entry to start from.

Parameters:
theViewNavigator - the ViewNavigator
currentEntry - the current entry
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