public Iterator<GTreeNode> iterator(boolean depthFirst) {
		if (depthFirst) {
			return new DepthFirstIterator(this);
		}
		return new BreadthFirstIterator(this);
	}
Returns an iterator of the GTree nodes in the subtree of this node

@param depthFirst if true, the nodes will be returned in depth-first order, otherwise
           breadth-first order
@return an iterator of the GTree nodes in the subtree of this node
Ghidra/Framework/Docking/src/main/java/docking/widgets/tree/GTreeNode.java