|
|||||||||||
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
Constructor Summary | |
NiceIterator()
|
Method Summary | |
ExtendedIterator |
andThen(ClosableIterator other)
make a new iterator, which is us then the other chap. |
static ExtendedIterator |
andThen(ClosableIterator a,
ClosableIterator b)
concatenate two closable iterators. |
void |
close()
default close: don't need to do anything. |
ExtendedIterator |
filterDrop(Filter f)
make a new iterator, which is our elements that pass the filter |
ExtendedIterator |
filterKeep(Filter f)
make a new iterator, which is our elements that pass the filter |
boolean |
hasNext()
default hasNext: no elements, return false. |
ExtendedIterator |
mapWith(Map1 map1)
make a new iterator which is the elementwise _map1_ of the base iterator. |
java.lang.Object |
next()
default next: throw an exception. |
void |
remove()
default remove: we have no elements, so we can't remove any. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NiceIterator()
Method Detail |
public void close()
close
in interface ClosableIterator
public boolean hasNext()
hasNext
in interface java.util.Iterator
public java.lang.Object next()
next
in interface java.util.Iterator
public void remove()
remove
in interface java.util.Iterator
public static ExtendedIterator andThen(ClosableIterator a, ClosableIterator b)
public ExtendedIterator andThen(ClosableIterator other)
andThen
in interface ExtendedIterator
public ExtendedIterator filterKeep(Filter f)
filterKeep
in interface ExtendedIterator
public ExtendedIterator filterDrop(Filter f)
filterDrop
in interface ExtendedIterator
public ExtendedIterator mapWith(Map1 map1)
mapWith
in interface ExtendedIterator
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |