Package ghidra.app.util.navigation

# Class GoToQuery.ProgramGroup

java.lang.Object
ghidra.app.util.navigation.GoToQuery.ProgramGroup

All Implemented Interfaces:
  `Iterable<Program>`

Enclosing class:
  GoToQuery

protected class GoToQuery.ProgramGroup extends Object implements Iterable<Program>
A class to maintain our collection of open programs and to provide an `Iterator` when we need to process the collection. The `iterator()` method has a side-effect of putting the current program at the front of the `Iterator` so that the current program is always searched first when processing the collection of programs.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ProgramGroup(Program[] programs, Program navigatableProgram)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Iterator<Program>`
  `iterator()`

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

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

  ### Methods inherited from interface java.lang.Iterable

  `forEach, spliterator`

- ## Constructor Details

  - ### ProgramGroup

    public ProgramGroup(Program[] programs, Program navigatableProgram)

- ## Method Details

  - ### iterator

    public Iterator<Program> iterator()
    Specified by:
      `iterator` in interface `Iterable<Program>`