|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openjena.atlas.iterator.IteratorSlotted<T>
public abstract class IteratorSlotted<T>
An Iterator with a one slot lookahead.
Method Summary | |
---|---|
void |
close()
|
boolean |
hasNext()
|
T |
next()
final - autoclose and registration relies on it - implement moveToNextBinding() |
T |
peek()
Look at the next element - returns null when there is no element |
T |
peek(T dft)
Look at the next element - returns dft when there is no element |
void |
remove()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final boolean hasNext()
hasNext
in interface Iterator<T>
public final T next()
next
in interface Iterator<T>
public final T peek()
public final T peek(T dft)
public final void remove()
remove
in interface Iterator<T>
public final void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |