org.ontoware.rdf2go.model.impl
Class LazyUnionModelIterator

java.lang.Object
  extended by org.ontoware.rdf2go.model.impl.LazyUnionModelIterator
All Implemented Interfaces:
java.util.Iterator<Statement>, ClosableIterator<Statement>

public class LazyUnionModelIterator
extends java.lang.Object
implements ClosableIterator<Statement>

Returns all statements matching the pattern. Looks into each model. TODO test me - not needed for OpenRDF

Author:
voelkel

Constructor Summary
LazyUnionModelIterator(AbstractModelSetImpl impl, TriplePattern pattern)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 Statement next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LazyUnionModelIterator

public LazyUnionModelIterator(AbstractModelSetImpl impl,
                              TriplePattern pattern)
Method Detail

close

public void close()
Specified by:
close in interface ClosableIterator<Statement>

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator<Statement>
Specified by:
hasNext in interface ClosableIterator<Statement>

next

public Statement next()
Specified by:
next in interface java.util.Iterator<Statement>
Specified by:
next in interface ClosableIterator<Statement>

remove

public void remove()
Specified by:
remove in interface java.util.Iterator<Statement>
Specified by:
remove in interface ClosableIterator<Statement>


Copyright © 2005-2008 FZI - Forschungszentrum Informatik | Karlsruhe | Germany. All Rights Reserved.