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() |
remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
Copyright © 2006–2020 JBoss by Red Hat. All rights reserved.