/**
  * DOCUMENT ME!
  *
  * @return DOCUMENT ME!
  */
 public boolean hasNext() {
   if (treeNodeIterator != null) {
     return treeNodeIterator.hasNext();
   } else {
     return false;
   }
 }
  /**
   * DOCUMENT ME!
   *
   * @param treeNodeIterator DOCUMENT ME!
   * @return DOCUMENT ME!
   */
  public boolean init(TreeNodeIterator treeNodeIterator) {
    this.treeNodeIterator = treeNodeIterator;

    if ((treeNodeIterator != null) && treeNodeIterator.hasNext()) {
      return true;
    } else {
      treeNodeIterator = null;
      return false;
    }
  }