All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jdsltools.testers.stackTester.StackFactory

java.lang.Object
   |
   +----jdsltools.testers.GenericFactory
           |
           +----jdsltools.testers.stackTester.StackFactory

public class StackFactory
extends GenericFactory

Constructor Index

 o StackFactory(String)

Method Index

 o generate(int, int)
Generates a data structure based on the type and position key.
 o getInstance()
 o getInstance(int)
 o location(int)
Returns the current container and a new location for that container
 o setContainer(Object)
Sets the current container of the factory, so that the factory can generate locations like Position and Locator

Constructors

 o StackFactory
 public StackFactory(String structToGenerate)

Methods

 o generate
 public TestStructure generate(int structure,
                               int location)
Generates a data structure based on the type and position key.

Overrides:
generate in class GenericFactory
 o setContainer
 public void setContainer(Object container)
Sets the current container of the factory, so that the factory can generate locations like Position and Locator

Overrides:
setContainer in class GenericFactory
 o location
 public TestStructure location(int location)
Returns the current container and a new location for that container

Overrides:
location in class GenericFactory
 o getInstance
 public Object getInstance()
 o getInstance
 public Object getInstance(int cap)

All Packages  Class Hierarchy  This Package  Previous  Next  Index