public class RandomListSelector extends AbstractListSelector
Constructor and Description |
---|
RandomListSelector() |
RandomListSelector(int numberOfTrials) |
Modifier and Type | Method and Description |
---|---|
int |
getNumIterations()
Get the number of trials displayed.
|
void |
initialize(Element element)
Initializes this scheduler.
|
boolean |
selectNextElement(ExecutionContext executionContext) |
void |
setNumIterations(int numIterations)
Set the number of trials returned.
|
getExecutionElement
public RandomListSelector()
public RandomListSelector(int numberOfTrials)
public void initialize(Element element)
initialize
in interface Initializable
initialize
in class AbstractListSelector
public boolean selectNextElement(ExecutionContext executionContext)
public int getNumIterations()
public void setNumIterations(int numIterations)
numberOfTrials
- the number of trials or -1 to return infinite trialsCopyright © 2013. All Rights Reserved.