KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > jofti > btree > NodeLink


1 /*
2  * Created on 08-May-2004
3  *
4  */

5 package com.jofti.btree;
6
7
8
9 /**
10  * A wrapper for a node that allows us distinguish between sibling right nodes and child nodes of nodes. <p>
11    * @author Steve Woodcock
12  * @version 1.0<br>
13  */

14 public class NodeLink {
15     
16     private Node node;
17     /**
18      * @return Returns the node.
19      */

20     public INode getNode()
21     {
22         return node;
23     }
24
25     /**
26      * @param node The node to set.
27      */

28     public void setNode(Node node)
29     {
30         this.node = node;
31     }
32
33 }
34
Popular Tags