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 int
protected List<CombinationGenerator<T>>
protected CompositeCombinationValidator<T,
EolRuntimeException> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
createList
(String... strings) protected CombinationGenerator<T>
protected CombinationGenerator<T>
protected CombinationGenerator<T>
boolean
hasNext()
protected boolean
protected boolean
protected boolean
next()
void
boolean
void
reset()
protected void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
reset
in interfaceCombinationGenerator<T>
-
isValidCombination
protected boolean isValidCombination() -
getPreviousGenerator
-
getNextGenerator
-
getCurrentGenerator
-
setCurrentGenerator
-
isFirstGenerator
protected boolean isFirstGenerator() -
isLastGenerator
protected boolean isLastGenerator() -
producedValidCombination
public void producedValidCombination()- Specified by:
producedValidCombination
in interfaceCombinationGenerator<T>
-