|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.hp.hpl.mesa.rdf.jena.common.prettywriter.IteratorIterator
Given an Iterator that returns Iterator's, this creates an Iterator over the next level values. Similar to list splicing in lisp.
Constructor Summary | |
IteratorIterator(java.util.Iterator e)
The first element of this Iterator is the first element of the first non-empty element of e . |
Method Summary | |
boolean |
hasNext()
Is there another element in one of the Iterator's still to consider. |
java.lang.Object |
next()
|
void |
remove()
remove's the element from the underlying Iterator in which it is a member. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IteratorIterator(java.util.Iterator e)
e
.e
- An Iterator all of whose members are themselves Iterator's.Method Detail |
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
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |