byucc.jhdl.base.list
Interface TreeListable
- All Known Implementing Classes:
- Node
- public interface TreeListable
This interface marks an object that can only appear on a single list, and is therefore
a valid candidate for inclusion in a TreeList. For example, a Node is a member of only one
list, that of it's parent's children. A TreeList is more memory efficient than a linked
or vector list, but requires this access.
- Author:
- Eric Blake
Method Summary |
TreeList |
getRelatives()
Must return the TreeList object belonging to this object (which contains both
children and sibling information). |
getRelatives
public TreeList getRelatives()
- Must return the TreeList object belonging to this object (which contains both
children and sibling information).
- Returns:
- the objects relatives
Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.