Package oracle.pgx.api
Class PgxPath.PathIterator<E>
- java.lang.Object
-
- oracle.pgx.api.PgxPath.PathIterator<E>
-
- Type Parameters:
E
-
- All Implemented Interfaces:
java.util.Iterator<E>
,java.util.ListIterator<E>
public abstract static class PgxPath.PathIterator<E> extends java.lang.Object implements java.util.ListIterator<E>
A read-onlyListIterator
with an additionalreset()
method to start over iteration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(E e)
boolean
hasNext()
boolean
hasPrevious()
E
next()
int
nextIndex()
E
previous()
int
previousIndex()
void
remove()
void
reset()
Resets the iteratorvoid
set(E e)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPrevious
in interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndex
in interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndex
in interfacejava.util.ListIterator<E>
-
reset
public void reset()
Resets the iterator
-
remove
public void remove()
-
-