com.ontotext.ordi.iterator
Class WrappedSesameIteratorImpl<E>

java.lang.Object
  extended by com.ontotext.ordi.iterator.WrappedSesameIteratorImpl<E>
All Implemented Interfaces:
CloseableIterator<E>, Iterator<E>

public class WrappedSesameIteratorImpl<E>
extends Object
implements CloseableIterator<E>

This class wraps the Sesame CloseableIteration type and provides ORDI friendly iteration interface. The type is used to integrated the Sesame Query engine functionality in ORDI.

Author:
vassil

Constructor Summary
WrappedSesameIteratorImpl(info.aduna.iteration.CloseableIteration<E,? extends Exception> iter)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 E next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WrappedSesameIteratorImpl

public WrappedSesameIteratorImpl(info.aduna.iteration.CloseableIteration<E,? extends Exception> iter)
Method Detail

close

public void close()
Specified by:
close in interface CloseableIterator<E>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<E>

next

public E next()
Specified by:
next in interface Iterator<E>

remove

public void remove()
Specified by:
remove in interface Iterator<E>


Copyright © 2008. All Rights Reserved.