KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ro > infoiasi > donald > compiler > simple > BinTreeNode


1 package ro.infoiasi.donald.compiler.simple;
2
3 /** An interface representing a node in an binary tree */
4 public interface BinTreeNode {
5     /** Associates the specified object with this node. */
6     void put(Object JavaDoc obj);
7     /** Returns the object corresponding to this node. */
8     Object JavaDoc get();
9     /** Returns the parent of this node. */
10     BinTreeNode parent();
11     /** Returns the left child of this node. */
12     BinTreeNode left();
13     /** Returns the right child of this node. */
14     BinTreeNode right();
15 }
16
Popular Tags