public abstract class SingleValueExtendOperationExecutor<T> extends ExtendOperationExecutor<T>
| Modifier and Type | Field and Description |
|---|---|
protected int |
position |
| Constructor and Description |
|---|
SingleValueExtendOperationExecutor(int position) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanup(MatchingFrame frame,
ISearchContext context)
Restores the frame to the state before
ExtendOperationExecutor.fillInValue(Object, MatchingFrame, ISearchContext). |
protected boolean |
fillInValue(T newValue,
MatchingFrame frame,
ISearchContext context)
Updates the frame with the next element of the iterator.
|
execute, getIterator, onBacktrack, onInitializeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOperationpublic SingleValueExtendOperationExecutor(int position)
position - the frame position all values are to be addedprotected final boolean fillInValue(T newValue, MatchingFrame frame, ISearchContext context)
ExtendOperationExecutorExtendOperationExecutor.execute(MatchingFrame, ISearchContext).fillInValue in class ExtendOperationExecutor<T>protected final void cleanup(MatchingFrame frame, ISearchContext context)
ExtendOperationExecutorExtendOperationExecutor.fillInValue(Object, MatchingFrame, ISearchContext). Called during
ExtendOperationExecutor.onBacktrack(MatchingFrame, ISearchContext).cleanup in class ExtendOperationExecutor<T>