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