public class IteratedListSelector extends AbstractListSelector
Constructor and Description |
---|
IteratedListSelector() |
IteratedListSelector(int numberOfIterations) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canCreateIterator()
Returns whether a new iterator can be created.
|
protected boolean |
canExecuteNext()
Can a next element be executed.
|
protected Iterator<Element> |
createIterator(ExecutionContext context)
Get the iterator to use for the iteration.
|
int |
getNumIterations() |
void |
initialize(Element element)
Initializes this scheduler.
|
boolean |
selectNextElement(ExecutionContext context)
Called on the top element of the stack.
|
void |
setNumIterations(int numIterations) |
getExecutionElement
public IteratedListSelector()
public IteratedListSelector(int numberOfIterations)
public void initialize(Element element)
initialize
in interface Initializable
initialize
in class AbstractListSelector
public boolean selectNextElement(ExecutionContext context)
ElementSelector
protected boolean canCreateIterator()
protected boolean canExecuteNext()
protected Iterator<Element> createIterator(ExecutionContext context)
public int getNumIterations()
public void setNumIterations(int numIterations)
Copyright © 2013. All Rights Reserved.