ch.tatool.core.element
Class RandomOrderIteratedListSelector
java.lang.Object
ch.tatool.core.element.AbstractListSelector
ch.tatool.core.element.IteratedListSelector
ch.tatool.core.element.RandomOrderIteratedListSelector
- All Implemented Interfaces:
- ElementSelector, Initializable
public class RandomOrderIteratedListSelector
- extends IteratedListSelector
Serves randomly a new element from the group.
The amount of elements served can be specified.
- Author:
- Michael Ruflin
|
Method Summary |
protected Iterator<Element> |
createIterator(ExecutionContext context)
Creates an iterator that returns the elements in the group in a random order
compared to the standard order the elements have been added to the list |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RandomOrderIteratedListSelector
public RandomOrderIteratedListSelector()
createIterator
protected Iterator<Element> createIterator(ExecutionContext context)
- Creates an iterator that returns the elements in the group in a random order
compared to the standard order the elements have been added to the list
- Overrides:
createIterator in class IteratedListSelector
Copyright © 2012. All Rights Reserved.