Package docking.widgets.tree.support

# Class DepthFirstIterator

java.lang.Object
docking.widgets.tree.support.DepthFirstIterator

All Implemented Interfaces:
  `Iterator<GTreeNode>`

public class DepthFirstIterator extends Object implements Iterator<GTreeNode>
Implements an iterator over all GTreeNodes in some gTree (or subtree). The nodes are return in depth first order.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DepthFirstIterator(GTreeNode node)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `boolean`
  `hasNext()`
  `GTreeNode`
  `next()`
  `void`
  `remove()`

  ### 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`

- ## Constructor Details

  - ### DepthFirstIterator

    public DepthFirstIterator(GTreeNode node)

- ## Method Details

  - ### hasNext

    public boolean hasNext()
    Specified by:
      `hasNext` in interface `Iterator<GTreeNode>`

  - ### next

    public GTreeNode next()
    Specified by:
      `next` in interface `Iterator<GTreeNode>`

  - ### remove

    public void remove()
    Specified by:
      `remove` in interface `Iterator<GTreeNode>`