dataStructures
Class SimulatedSpace1

java.lang.Object
  |
  +--dataStructures.SimulatedSpace1

public class SimulatedSpace1
extends java.lang.Object


Constructor Summary
SimulatedSpace1(int numberOfNodes)
           
 
Method Summary
 int allocateNode(java.lang.Object element, int next)
           
 void deallocateNode(int i)
           
static void main(java.lang.String[] args)
          test program
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimulatedSpace1

public SimulatedSpace1(int numberOfNodes)
Method Detail

allocateNode

public int allocateNode(java.lang.Object element,
                        int next)

deallocateNode

public void deallocateNode(int i)

main

public static void main(java.lang.String[] args)
test program