|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.util.iterator.IteratorIterator<T>
public class IteratorIterator<T>
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<java.util.Iterator<T>> 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. |
T |
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<java.util.Iterator<T>> e)
e
.
e
- An Iterator all of whose members are themselves Iterator's.Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public T next()
next
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |