TestNode

Kind of class:(package private) (inner) class
Enclosing class:
Package:treemap
Inherits from:none
Implements:
Package classpath:treemap.TestNode
File last modified:Monday, 18 February 2002, 14:33:48
Implements TMNode

Summary


Constructors
Instance fields
Instance methods

Constructors

TestNode

(package private) TestNode(
)

Constructor.

TestNode

(package private) TestNode(
boolean leaf)

Constructor.

Instance fields

children

private Vector children = null

leaf

private boolean leaf = false

updater

private TMUpdater updater = null

Instance methods

add

(package private) void add(
TestNode child)

Add child.

children

public Enumeration children(
)

Returns children.
Returns:
  • an Enumeration containing childs of this node
    #
Specified by:

getUpdater

public TMUpdater getUpdater(
)

Get updater.

isLeaf

public boolean isLeaf(
)

Is leaf ?
Returns:
  • true if this node is a leaf;
    false otherwise
    #
Specified by:

setUpdater

public void setUpdater(
TMUpdater updater)

Set updater.
Parameters:
updater:
the TMUpdater to be called when something has changed
#
Specified by: