|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.util.iterator.NiceIterator
com.hp.hpl.jena.util.iterator.WrappedIterator
a WrappedIterator is an ExtendedIterator wrapping around a plain (or
presented as plain) Iterator. The wrapping allows the usual extended
operations (filtering, concatenating) to be done on an Iterator derived
from some other source.
Method Summary | |
void |
close()
close: defer to the base, iff it is closable |
static void |
close(java.util.Iterator it)
if _it_ is a Closableiterator, close it. |
static WrappedIterator |
create(java.util.Iterator it)
factory method for creating a wrapper around _it_. |
boolean |
hasNext()
hasNext: defer to the base iterator |
java.lang.Object |
next()
next: defer to the base iterator |
void |
remove()
remove: defer to the base iterator |
Methods inherited from class com.hp.hpl.jena.util.iterator.NiceIterator |
andThen, andThen, filterDrop, filterKeep, mapWith |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static WrappedIterator create(java.util.Iterator it)
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in class NiceIterator
public java.lang.Object next()
next
in interface java.util.Iterator
next
in class NiceIterator
public void remove()
remove
in interface java.util.Iterator
remove
in class NiceIterator
public void close()
close
in interface ClosableIterator
close
in class NiceIterator
public static void close(java.util.Iterator it)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |