S - Selection type, for example a Move class, an entity class or a value class.public class CachedListRandomIterator<S> extends SelectionIterator<S>
Iterator does not shuffle and is never ending.| Modifier and Type | Field and Description |
|---|---|
protected List<S> |
cachedList |
protected boolean |
notEmpty |
protected Random |
workingRandom |
| Constructor and Description |
|---|
CachedListRandomIterator(List<S> cachedList,
Random workingRandom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
S |
next() |
removeCopyright © 2006–2016 JBoss by Red Hat. All rights reserved.