Class CancellableIterator<T>

java.lang.Object
ghidra.util.task.CancellableIterator<T>
Type Parameters:
T - the type
All Implemented Interfaces:
Iterator<T>

public class CancellableIterator<T> extends Object implements Iterator<T>
An Iterator wrapper that allows clients to use a task monitor to cancel iteration
  • Constructor Details

  • Method Details

    • hasNext

      public boolean hasNext()
      Specified by:
      hasNext in interface Iterator<T>
    • next

      public T next()
      Specified by:
      next in interface Iterator<T>