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-onlyListIteratorwith an additionalreset()method to start over iteration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(E e)booleanhasNext()booleanhasPrevious()Enext()intnextIndex()Eprevious()intpreviousIndex()voidremove()voidreset()Resets the iteratorvoidset(E e)
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
next
public E next()
-
hasPrevious
public boolean hasPrevious()
- Specified by:
hasPreviousin interfacejava.util.ListIterator<E>
-
nextIndex
public int nextIndex()
- Specified by:
nextIndexin interfacejava.util.ListIterator<E>
-
previousIndex
public int previousIndex()
- Specified by:
previousIndexin interfacejava.util.ListIterator<E>
-
reset
public void reset()
Resets the iterator
-
remove
public void remove()
-
-