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
-
StackFactory(String)
-
-
generate(int, int)
- Generates a data structure based on the type and position key.
-
getInstance()
-
-
getInstance(int)
-
-
location(int)
- Returns the current container and a new location for that container
-
setContainer(Object)
- Sets the current container of the factory, so that the factory can
generate locations like Position and Locator
StackFactory
public StackFactory(String structToGenerate)
generate
public TestStructure generate(int structure,
int location)
- Generates a data structure based on the type and position key.
- Overrides:
- generate in class GenericFactory
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
location
public TestStructure location(int location)
- Returns the current container and a new location for that container
- Overrides:
- location in class GenericFactory
getInstance
public Object getInstance()
getInstance
public Object getInstance(int cap)
All Packages Class Hierarchy This Package Previous Next Index