borland Packages Class Hierarchy jbcl.model Package Index
java.lang.Object +----borland.jbcl.model.LinkedTreeIterator
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.
protected LinkedTreeNode firstSiblingThe first node where iteration begins in the tree.
protected LinkedTreeNode siblingA node in the tree.
public LinkedTreeIterator(borland.jbcl.model.LinkedTreeNode firstSibling)Constructs a LinkedTreeIterator object pointed at the specified node.
Parameters:
public Container getContainer()Returns the linked tree container this class iterates over.
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.