org.ontoware.rdf2go.model.impl
Class PseudoClosableIterator<T>

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

public class PseudoClosableIterator<T>
extends java.lang.Object
implements ClosableIterator<T>


Constructor Summary
PseudoClosableIterator(java.util.Iterator<T> it)
           
 
Method Summary
 void close()
           
 boolean hasNext()
           
 T next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PseudoClosableIterator

public PseudoClosableIterator(java.util.Iterator<T> it)
Method Detail

hasNext

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

next

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

remove

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

close

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


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