Package ghidra.framework.model
Class ProjectDataUtils.DomainFolderIterator
java.lang.Object
ghidra.framework.model.ProjectDataUtils.DomainFolderIterator
- All Implemented Interfaces:
Iterator<DomainFolder>
- Enclosing class:
ProjectDataUtils
public static class ProjectDataUtils.DomainFolderIterator
extends Object
implements Iterator<DomainFolder>
A not-thread-safe
DomainFolder
iterator that recursively walks a
project's data
and returns each DomainFolder
that is
found.-
Constructor Summary
ConstructorDescriptionDomainFolderIterator
(DomainFolder startFolder) Recursively traverse theDomainFolder
s under a specificDomainFolder
.DomainFolderIterator
(Project project) Recursively traverse aProject
starting in its root folder. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
DomainFolderIterator
Recursively traverse aProject
starting in its root folder.- Parameters:
project
-
-
DomainFolderIterator
Recursively traverse theDomainFolder
s under a specificDomainFolder
.- Parameters:
startFolder
-
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceIterator<DomainFolder>
-
next
- Specified by:
next
in interfaceIterator<DomainFolder>
-