org.openrdf.sail.rdbms.iteration
Class NamespaceIteration

java.lang.Object
  extended by info.aduna.iteration.IteratorIteration<Namespace,SailException>
      extended by org.openrdf.sail.rdbms.iteration.NamespaceIteration
All Implemented Interfaces:
CloseableIteration<Namespace,SailException>, Iteration<Namespace,SailException>

public class NamespaceIteration
extends IteratorIteration<Namespace,SailException>
implements CloseableIteration<Namespace,SailException>

Namespace typed Iteration.

Author:
James Leigh

Constructor Summary
NamespaceIteration(Iterator<? extends Namespace> iter)
           
 
Method Summary
 void close()
          Closes this iteration, freeing any resources that it is holding.
 
Methods inherited from class info.aduna.iteration.IteratorIteration
hasNext, next, remove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.aduna.iteration.Iteration
hasNext, next, remove
 

Constructor Detail

NamespaceIteration

public NamespaceIteration(Iterator<? extends Namespace> iter)
Method Detail

close

public void close()
           throws SailException
Description copied from interface: CloseableIteration
Closes this iteration, freeing any resources that it is holding. If the iteration has already been closed then invoking this method has no effect.

Specified by:
close in interface CloseableIteration<Namespace,SailException>
Throws:
SailException


Copyright © 2001-2012 Aduna. All Rights Reserved.