org.jrdf.graph.mem.iterator
Interface IteratorFactory

All Known Implementing Classes:
IteratorFactoryImpl, OrderedIteratorFactoryImpl

public interface IteratorFactory

Creates the iterators. Allows different implementations of iterators to be used.

Version:
$Id: IteratorFactory.java 1045 2007-01-05 04:56:09Z newmana $
Author:
Andrew Newman

Method Summary
 ClosableMemIterator<Triple> newEmptyClosableIterator()
           
 ClosableMemIterator<Triple> newGraphIterator()
           
 ClosableMemIterator<Triple> newOneFixedIterator(Long fixedFirstNode, int index)
           
 ClosableMemIterator<Triple> newThreeFixedIterator(Long[] nodes)
           
 ClosableMemIterator<Triple> newTwoFixedIterator(Long fixedFirstNode, Long fixedSecondNode, int index)
           
 

Method Detail

newEmptyClosableIterator

ClosableMemIterator<Triple> newEmptyClosableIterator()

newGraphIterator

ClosableMemIterator<Triple> newGraphIterator()

newOneFixedIterator

ClosableMemIterator<Triple> newOneFixedIterator(Long fixedFirstNode,
                                                int index)

newTwoFixedIterator

ClosableMemIterator<Triple> newTwoFixedIterator(Long fixedFirstNode,
                                                Long fixedSecondNode,
                                                int index)

newThreeFixedIterator

ClosableMemIterator<Triple> newThreeFixedIterator(Long[] nodes)