public abstract class BaseTraversalStep<StepType,DataType> extends Object implements TraversalStep<StepType,DataType>
TraversalStep.Operation| Modifier and Type | Field and Description |
|---|---|
protected TraversalStep |
child |
protected Traversr |
traversr |
| Constructor and Description |
|---|
BaseTraversalStep(Traversr traversr,
TraversalStep child) |
| Modifier and Type | Method and Description |
|---|---|
TraversalStep |
getChild() |
Optional<DataType> |
traverse(StepType tree,
TraversalStep.Operation op,
Iterator<String> keys,
DataType data)
The meat of the Traversal.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitget, getStepType, newContainer, overwriteSet, removeprotected final TraversalStep child
protected final Traversr traversr
public BaseTraversalStep(Traversr traversr, TraversalStep child)
public TraversalStep getChild()
getChild in interface TraversalStep<StepType,DataType>public final Optional<DataType> traverse(StepType tree, TraversalStep.Operation op, Iterator<String> keys, DataType data)
TraversalSteptraverse in interface TraversalStep<StepType,DataType>tree - tree of data to walkop - the Operation to perform is this is the last node of the Traversalkeys - keys to usedata - the data to place if the operation is SETCopyright © 2023. All rights reserved.