Package ghidra.trace.util
Interface EnumeratingIterator<T>
- All Superinterfaces:
Iterator<T>
- All Known Implementing Classes:
EnumeratingIterator.WrappingEnumeratingIterator
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> EnumeratingIterator<T> castOrWrap(Iterator<T> it) intgetIndex()Get the index of the last element returned byIterator.next().Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
castOrWrap
-
getIndex
int getIndex()Get the index of the last element returned byIterator.next().- Returns:
- the index of the last iterated element.
-