|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmlspecs.jmlunit.strategies.CompositeStrategy
A composition of several strategies
CompositeIterator| Field Summary | |
private StrategyType[] |
strats
The indefinite iterators being concatenated. |
| Constructor Summary | |
CompositeStrategy(StrategyType s)
Initialize this composite to return the iterator given by the given argument strategy. |
|
CompositeStrategy(StrategyType s1,
StrategyType s2)
Initialize this composite to return the iterator given by the given argument strategies, in order. |
|
CompositeStrategy(StrategyType[] strats)
Initialize this composite to return the iterator given by the given argument strategies, in order. |
|
| Method Summary | |
IndefiniteIterator |
iterator()
Compute a fresh indefinite iterator, which can be used to provide test data of some reference type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private StrategyType[] strats
| Constructor Detail |
public CompositeStrategy(StrategyType s)
public CompositeStrategy(StrategyType s1,
StrategyType s2)
public CompositeStrategy(StrategyType[] strats)
| Method Detail |
public IndefiniteIterator iterator()
StrategyType
iterator in interface StrategyType
|
JML | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||