Class CachedListRandomIterator<S>
java.lang.Object
ai.timefold.solver.core.impl.heuristic.selector.common.iterator.SelectionIterator<S>
ai.timefold.solver.core.impl.heuristic.selector.common.iterator.CachedListRandomIterator<S>
- Type Parameters:
S- Selection type, for example aMoveclass, an entity class or a value class.
- All Implemented Interfaces:
Iterator<S>
This
Iterator does not shuffle and is never ending.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ai.timefold.solver.core.impl.heuristic.selector.common.iterator.SelectionIterator
removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining
-
Field Details
-
cachedList
-
workingRandom
-
empty
protected final boolean empty
-
-
Constructor Details
-
CachedListRandomIterator
-
-
Method Details
-
hasNext
public boolean hasNext() -
next
-