Class TreeInventory

java.lang.Object
  |
  +--TreeInventory

public class TreeInventory
extends java.lang.Object


Constructor Summary
TreeInventory(java.lang.String fileName)
          The constructor.
 
Method Summary
static void main(java.lang.String[] args)
          This is the test program.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeInventory

public TreeInventory(java.lang.String fileName)
The constructor. It creates an inventory of Trees from a file. You do not need to be concerned with its implementation.
Method Detail

main

public static void main(java.lang.String[] args)
This is the test program. It takes two parameters: the names of two sorted lists of Trees It will create a two TreeInventorys from the supplied inventory files and then merge the two into one LinkedList based inventory, which remains sorted. For example: java TreeInventory datafiles/lot2.dat datafiles/lot3.dat