Package ghidra.framework.model
Class ProjectDataUtils.DomainFolderIterator
- java.lang.Object
-
- ghidra.framework.model.ProjectDataUtils.DomainFolderIterator
-
- All Implemented Interfaces:
java.util.Iterator<DomainFolder>
- Enclosing class:
- ProjectDataUtils
public static class ProjectDataUtils.DomainFolderIterator extends java.lang.Object implements java.util.Iterator<DomainFolder>
A not-thread-safeDomainFolder
iterator that recursively walks aproject's data
and returns eachDomainFolder
that is found.
-
-
Constructor Summary
Constructors Constructor Description DomainFolderIterator(DomainFolder startFolder)
Recursively traverse theDomainFolders
s under a specificDomainFolder
.DomainFolderIterator(Project project)
Recursively traverse aProject
starting in its root folder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
DomainFolder
next()
-
-
-
Constructor Detail
-
DomainFolderIterator
public DomainFolderIterator(Project project)
Recursively traverse aProject
starting in its root folder.- Parameters:
project
-
-
DomainFolderIterator
public DomainFolderIterator(DomainFolder startFolder)
Recursively traverse theDomainFolders
s under a specificDomainFolder
.- Parameters:
startFolder
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfacejava.util.Iterator<DomainFolder>
-
next
public DomainFolder next()
- Specified by:
next
in interfacejava.util.Iterator<DomainFolder>
-
-