S
- 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() |
remove
Copyright © 2006-2015 JBoss by Red Hat. All Rights Reserved.