Package ghidra.trace.util

# Class TraceViewportSpanIterator

java.lang.Object
generic.util.AbstractPeekableIterator<Lifespan>
ghidra.trace.util.TraceViewportSpanIterator

All Implemented Interfaces:
  `PeekableIterator<Lifespan>`, `Iterator<Lifespan>`

public class TraceViewportSpanIterator extends AbstractPeekableIterator<Lifespan>

- ## Field Summary

  ### Fields inherited from class generic.util.AbstractPeekableIterator

  `next, soughtNext`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TraceViewportSpanIterator(Trace trace, long snap)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected TraceSnapshot`
  `locateMostRecentFork(long from)`
  `protected Lifespan`
  `seekNext()`
  Find the next element in this iterator, because the client called either `AbstractPeekableIterator.next` or `AbstractPeekableIterator.peek()`.

  ### Methods inherited from class generic.util.AbstractPeekableIterator

  `hasNext, next, peek`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

  ### Methods inherited from interface java.util.Iterator

  `forEachRemaining, remove`

- ## Constructor Details

  - ### TraceViewportSpanIterator

    public TraceViewportSpanIterator(Trace trace, long snap)

- ## Method Details

  - ### locateMostRecentFork

    protected TraceSnapshot locateMostRecentFork(long from)

  - ### seekNext

    protected Lifespan seekNext()
    Description copied from class: `AbstractPeekableIterator`
    Find the next element in this iterator, because the client called either `AbstractPeekableIterator.next` or `AbstractPeekableIterator.peek()`.
    Specified by:
      `seekNext` in class `AbstractPeekableIterator<Lifespan>`
    Returns:
      the next element