Class UpcomingSelectionListIterator<S>
java.lang.Object
ai.timefold.solver.core.impl.heuristic.selector.common.iterator.SelectionIterator<S>
ai.timefold.solver.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator<S>
ai.timefold.solver.core.impl.heuristic.selector.common.iterator.UpcomingSelectionListIterator<S>
- All Implemented Interfaces:
Iterator<S>,ListIterator<S>
- Direct Known Subclasses:
FilteringEntitySelector.JustInTimeFilteringEntityListIterator
public abstract class UpcomingSelectionListIterator<S>
extends UpcomingSelectionIterator<S>
implements ListIterator<S>
-
Field Summary
FieldsFields inherited from class ai.timefold.solver.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator
hasUpcomingSelection, upcomingCreated, upcomingSelection -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ai.timefold.solver.core.impl.heuristic.selector.common.iterator.UpcomingSelectionIterator
findUnpinnedDestination, hasNext, noUpcomingSelection, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext
-
Field Details
-
previousSelection
-
previousCreated
protected boolean previousCreated -
hasPreviousSelection
protected boolean hasPreviousSelection
-
-
Constructor Details
-
UpcomingSelectionListIterator
public UpcomingSelectionListIterator()
-
-
Method Details
-
noPreviousSelection
-
createUpcomingSelection
- Specified by:
createUpcomingSelectionin classUpcomingSelectionIterator<S>
-
createPreviousSelection
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<S>
-
next
- Specified by:
nextin interfaceIterator<S>- Specified by:
nextin interfaceListIterator<S>- Overrides:
nextin classUpcomingSelectionIterator<S>
-
previous
- Specified by:
previousin interfaceListIterator<S>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<S>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<S>
-
remove
public void remove()- Specified by:
removein interfaceIterator<S>- Specified by:
removein interfaceListIterator<S>- Overrides:
removein classSelectionIterator<S>
-
set
- Specified by:
setin interfaceListIterator<S>
-
add
- Specified by:
addin interfaceListIterator<S>
-