|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectobjectgen.testobjective.AlternativeStore
This class is a helper class of test objective generator class. This class stores decision nodes and their alternatives to avoid infinite loops
Constructor Summary | |
AlternativeStore()
Creates a new instance of AlternativeStore |
Method Summary | |
void |
addDecision(Decision d)
Deprecated. |
void |
addDecision(Decision d,
Alternative a)
Add a desicion and an alternative of that decision A decision could have more than one alternative stored. |
java.lang.Object |
clone()
Clones an AlternativeStore class |
boolean |
containsDecision(Decision d)
Returns true if the store contains the decision Not deprecated but unuseful |
void |
deleteAlternative(Decision d)
Deprecated. |
java.util.Iterator |
iteratorFor(Decision d)
Deprecated. |
boolean |
stored(Decision d,
Alternative a)
|
java.lang.String |
toString()
Testing purpouses only |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public AlternativeStore()
Method Detail |
public boolean containsDecision(Decision d)
public void addDecision(Decision d)
public void addDecision(Decision d, Alternative a)
public boolean stored(Decision d, Alternative a)
public void deleteAlternative(Decision d)
public java.util.Iterator iteratorFor(Decision d)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |