/*---------------------------------

  BST_String_Iterator.java

  (P) 1998 Laurentiu Cristofor

  implementation
  of an iterator for a
  binary search tree 
  that holds Strings

-----------------------------------*/

class BST_String_Iterator
{
  private BST_Iterator bst_iter;

  public BST_String_Iterator(BST_Iterator iter)
  {
    bst_iter = iter;
  }

  public boolean atEnd()
  {
    return bst_iter.atEnd();
  }

  public void next()
  {
    bst_iter.next();
  }
  
  public String current()
  {
    return (String)bst_iter.current();
  }
}
