Package ghidra.util.graph

# Interface GraphIterator<T extends KeyedObject>

@Deprecated(since="10.2") public interface GraphIterator<T extends KeyedObject>
Deprecated.
Interface for VertexSet and EdgeSet iterators.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  Deprecated.
  Return true if the iterator has more elements
  `T`
  `next()`
  Deprecated.
  Returns next element in the iteration.
  `boolean`
  `remove()`
  Deprecated.
  Removes the object from the backing set safely

- ## Method Details

  - ### hasNext

    boolean hasNext()
    Deprecated.
    Return true if the iterator has more elements

  - ### next

    T next() throws ConcurrentModificationException
    Deprecated.
    Returns next element in the iteration.
    Throws:
      `ConcurrentModificationException` - if the backing set has been modified since the iterator was created.

  - ### remove

    boolean remove()
    Deprecated.
    Removes the object from the backing set safely