Class CompositeCombinationGenerator<T>
java.lang.Object
org.eclipse.epsilon.epl.combinations.CompositeCombinationGenerator<T>
- All Implemented Interfaces:
Iterator<List<List<T>>>,CombinationGenerator<List<T>>
public class CompositeCombinationGenerator<T>
extends Object
implements CombinationGenerator<List<T>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected List<CombinationGenerator<T>>protected CompositeCombinationValidator<T,EolRuntimeException> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateList(String... strings) protected CombinationGenerator<T>protected CombinationGenerator<T>protected CombinationGenerator<T>booleanhasNext()protected booleanprotected booleanprotected booleannext()voidbooleanvoidreset()protected voidvoidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Field Details
-
generators
-
currentGeneratorIndex
protected int currentGeneratorIndex -
currentStack
-
validator
-
NEXT
-
UNKNOWN
-
lookahead
-
-
Constructor Details
-
CompositeCombinationGenerator
public CompositeCombinationGenerator()
-
-
Method Details
-
createList
-
getValidator
-
setValidator
-
addCombinationGenerator
-
removeCombinationGenerator
-
hasNext
public boolean hasNext() -
next
-
getNextImpl
-
reset
public void reset()- Specified by:
resetin interfaceCombinationGenerator<T>
-
isValidCombination
protected boolean isValidCombination() -
getPreviousGenerator
-
getNextGenerator
-
getCurrentGenerator
-
setCurrentGenerator
-
isFirstGenerator
protected boolean isFirstGenerator() -
isLastGenerator
protected boolean isLastGenerator() -
producedValidCombination
public void producedValidCombination()- Specified by:
producedValidCombinationin interfaceCombinationGenerator<T>
-