public abstract class AbstractRandomSwapIterator<S,SubS> extends UpcomingSelectionIterator<S>
| Modifier and Type | Field and Description |
|---|---|
protected Iterator<SubS> |
leftSubSelectionIterator |
protected Iterable<SubS> |
leftSubSelector |
protected Iterator<SubS> |
rightSubSelectionIterator |
protected Iterable<SubS> |
rightSubSelector |
hasUpcomingSelection, upcomingCreated, upcomingSelection| Constructor and Description |
|---|
AbstractRandomSwapIterator(Iterable<SubS> leftSubSelector,
Iterable<SubS> rightSubSelector) |
| Modifier and Type | Method and Description |
|---|---|
protected S |
createUpcomingSelection() |
protected abstract S |
newSwapSelection(SubS leftSubSelection,
SubS rightSubSelection) |
hasNext, next, noUpcomingSelection, toStringremoveclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEachRemainingprotected S createUpcomingSelection()
createUpcomingSelection in class UpcomingSelectionIterator<S>Copyright © 2006–2021 JBoss by Red Hat. All rights reserved.