Package ghidra.program.model.block

# Interface CodeBlockReferenceIterator

All Known Implementing Classes:
  `SimpleDestReferenceIterator`, `SimpleSourceReferenceIterator`, `SubroutineDestReferenceIterator`, `SubroutineSourceReferenceIterator`

public interface CodeBlockReferenceIterator
An iterator interface over CodeBlockReferences.

See Also:
  - `CodeBlockReference`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  Return true if next() will return a CodeBlockReference.
  `CodeBlockReference`
  `next()`
  Return the next CodeBlockReference.

- ## Method Details

  - ### hasNext

    boolean hasNext() throws CancelledException
    Return true if next() will return a CodeBlockReference.
    Throws:
      `CancelledException` - thrown if the operation is cancelled.

  - ### next

    CodeBlockReference next() throws CancelledException
    Return the next CodeBlockReference.
    Throws:
      `CancelledException` - thrown if the operation is cancelled.