Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## baseCode.dataStructure.tree
Class TreeNode

    java.lang.Object
      baseCode.common.Visitable
          baseCode.dataStructure.tree.TreeNode

All Implemented Interfaces:
  java.lang.Comparable

public class TreeNode
extends Visitable

Copyright (c) 2004 Columbia University

Version:
  $Id: TreeNode.java,v 1.1 2004/07/29 08:38:49 pavlidis Exp $
Author:
  pavlidis

Constructor Summary
`TreeNode(java.lang.Object k)`

Method Summary
`int` | `compareTo(java.lang.Object o)`
`java.lang.Object` | `getElement()`
`TreeNode` | `getFirstChild()`
`TreeNode` | `getNextSibling()`
`void` | `setElement(java.lang.Object element)`
`void` | `setFirstChild(TreeNode firstChild)`
`void` | `setNextSibling(TreeNode nextSibling)`

Methods inherited from class baseCode.common.Visitable
`isVisited, mark, unMark`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TreeNode

    public TreeNode(java.lang.Object k)

Method Detail

### getElement

    public java.lang.Object getElement()

### setElement

    public void setElement(java.lang.Object element)

### getFirstChild

    public TreeNode getFirstChild()

### setFirstChild

    public void setFirstChild(TreeNode firstChild)

### getNextSibling

    public TreeNode getNextSibling()

### setNextSibling

    public void setNextSibling(TreeNode nextSibling)

### compareTo

    public int compareTo(java.lang.Object o)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003-2005 Columbia University. All Rights Reserved.