borland Packages  Class Hierarchy  jbcl.model Package  Index 

LinkedTreeIterator class

java.lang.Object
   +----borland.jbcl.model.LinkedTreeIterator

About the LinkedTreeIterator class

Variables  Constructors  Properties  Methods  

Implements ForwardIterator, InputIterator, OutputIterator, Serializable, Cloneable, Enumeration

The LinkedTreeIterator class iterates over the siblings of a linked tree. It reads and writes one tree node at a time in a forward direction. It requires a linked tree.


LinkedTreeIterator variables

Variables implemented in this class

LinkedTreeIterator constructors

LinkedTreeIterator properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in java.lang.Object

LinkedTreeIterator methods

Methods implemented in this class

Methods implemented in java.lang.Object


LinkedTreeIterator variables

firstSibling

  protected LinkedTreeNode firstSibling
The first node where iteration begins in the tree.

sibling

  protected LinkedTreeNode sibling
A node in the tree.

LinkedTreeIterator constructors

LinkedTreeIterator(borland.jbcl.model.LinkedTreeNode)

  public LinkedTreeIterator(borland.jbcl.model.LinkedTreeNode firstSibling)
Constructs a LinkedTreeIterator object pointed at the specified node.

Parameters:

firstSibling
The node in the tree where the iteration begins.

LinkedTreeIterator properties

container

 public Container getContainer()
Returns the linked tree container this class iterates over.

LinkedTreeIterator methods

equals(com.objectspace.jgl.InputIterator)

  public boolean equals(com.objectspace.jgl.InputIterator that)
Compares the iterator passed as the that argument to itself and returns true if they are pointing to the same node of the same tree.