Class PositionIterator<T, P extends IPositionHolder<T,P>>
java.lang.Object
com.vladsch.flexmark.experimental.util.collection.iteration.PositionIterator<T,P>
- Type Parameters:
T- type of element held by positionP- type of position iterated over
- All Implemented Interfaces:
Iterator<P>
Bidirectional iterator, direction depends on the position anchor NEXT is a forward iterator, PREVIOUS is a reverse iterator
-
Field Details
-
myIndex
-
myNext
-
-
Constructor Details
-
PositionIterator
-
-
Method Details
-
hasNext
-
next
-
remove
-