All Packages Class Hierarchy This Package Previous Next Index
Class jdsltools.testers.sequencetester.PosSeqFactory
java.lang.Object
|
+----jdsltools.testers.GenericFactory
|
+----jdsltools.testers.sequencetester.PosSeqFactory
- public class PosSeqFactory
- extends GenericFactory
Builds PositionalSequences.
MT_PS: builds an empty positional sequence
ONE: builds a one position sequence
THREE: builds a three position sequence
FIRST: returns the last position in the sequence
ALL: returns all the positions
- Author:
- Marco da Silva (mds)
-
ALL
- All the positions
-
FIRST
- The first position
-
MT_PS
- An empty positional sequence
-
ONE
- A one position sequence
-
THREE
- A three position sequence
-
PosSeqFactory(String)
- The constructor of this factory takes the fully qualified name of the
class of the
PriorityQueue
-
PosSeqFactory(String, String)
-
-
generate(int, int)
- Generates a data structure based on the type and position key.
-
init(String)
- call to avoid null pointer exceptions, creates structures that take
parameters.
-
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
MT_PS
public static final int MT_PS
- An empty positional sequence
ONE
public static final int ONE
- A one position sequence
THREE
public static final int THREE
- A three position sequence
FIRST
public static final int FIRST
- The first position
ALL
public static final int ALL
- All the positions
PosSeqFactory
public PosSeqFactory(String structToBuild)
- The constructor of this factory takes the fully qualified name of the
class of the
PriorityQueue
- Parameters:
- structToBuild - The fully qualified name of the class to build.
PosSeqFactory
public PosSeqFactory(String structToBuild,
String arguments)
init
public void init(String arguments)
- call to avoid null pointer exceptions, creates structures that take
parameters.
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
All Packages Class Hierarchy This Package Previous Next Index