org.priha.util
Class LazyNodeIteratorImpl

java.lang.Object
  extended by org.priha.util.GenericIterator
      extended by org.priha.util.LazyNodeIteratorImpl
All Implemented Interfaces:
java.util.Iterator

public class LazyNodeIteratorImpl
extends GenericIterator


Field Summary
 
Fields inherited from class org.priha.util.GenericIterator
m_iterator, m_list, m_position, m_size
 
Constructor Summary
LazyNodeIteratorImpl(SessionImpl session, java.util.List<Path> paths)
           
 
Method Summary
 NodeImpl get(int index)
           
 NodeImpl next()
           
 NodeImpl nextNode()
           
 NodeImpl previous()
           
 NodeImpl previousNode()
           
 
Methods inherited from class org.priha.util.GenericIterator
getPosition, getSize, hasNext, hasPrevious, remove, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyNodeIteratorImpl

public LazyNodeIteratorImpl(SessionImpl session,
                            java.util.List<Path> paths)
Method Detail

nextNode

public NodeImpl nextNode()

previousNode

public NodeImpl previousNode()

next

public NodeImpl next()
Specified by:
next in interface java.util.Iterator
Overrides:
next in class GenericIterator

previous

public NodeImpl previous()
Overrides:
previous in class GenericIterator

get

public NodeImpl get(int index)
             throws PathNotFoundException,
                    RepositoryException
Throws:
PathNotFoundException
RepositoryException