class GTreeNode extends CoreGTreeNode implements Comparable<GTreeNode> {

	public Iterator<GTreeNode> iterator(boolean depthFirst) {
		if (depthFirst) {
			return new DepthFirstIterator(this);
		}
		return new BreadthFirstIterator(this);
	}

}