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 |
empty |
protected Random |
workingRandom |
| Constructor and Description |
|---|
CachedListRandomIterator(List<S> cachedList,
Random workingRandom) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
S |
next() |
removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2006–2021 JBoss by Red Hat. All rights reserved.