KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > tests > jfun > models > BinNode


1 package tests.jfun.models;
2 final class BinNode implements Tree{
3   private final Tree left;
4   private final Tree right;
5   public Tree getLeft(){return left;}
6   public Tree getRight(){return right;}
7   BinNode(Tree l, Tree r){
8     this.left = l;
9     this.right = r;
10   }
11 }
Popular Tags