com.isti.util.test
Class KeyedTreeTest

java.lang.Object
  extended by com.isti.util.test.KeyedTreeTest

public class KeyedTreeTest
extends java.lang.Object

Class KeyedTreeTest is a test program for 'KeyedTreeTable'.


Field Summary
protected  KeyedTreeTable keyedTreeTableObj
           
 
Constructor Summary
KeyedTreeTest(java.lang.String[] args)
          Test program for 'KeyedTreeTable'.
 
Method Summary
protected  void addToTable(java.lang.Object keyObj, java.lang.Object valueObj)
          Adds an entry to the table.
static void main(java.lang.String[] args)
          Program entry point.
protected  void showTable()
          Dumps the table contents to the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

keyedTreeTableObj

protected final KeyedTreeTable keyedTreeTableObj
Constructor Detail

KeyedTreeTest

public KeyedTreeTest(java.lang.String[] args)
Test program for 'KeyedTreeTable'.

Method Detail

addToTable

protected void addToTable(java.lang.Object keyObj,
                          java.lang.Object valueObj)
Adds an entry to the table. Display an error message if unable to add the entry.

Parameters:
keyObj - the 'key' object to use.
valueObj - the 'value' object to use.

showTable

protected void showTable()
Dumps the table contents to the console.


main

public static void main(java.lang.String[] args)
Program entry point.