com.ontotext.ordi.iterator
Class WrappedSesameIteratorImpl<E>
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrappedSesameIteratorImpl
public WrappedSesameIteratorImpl(info.aduna.iteration.CloseableIteration<E,? extends Exception> iter)
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.