public final class IdentityTraversal<S> extends AbstractLambdaTraversal<S,S>
Traversal.Admin<S,E>, Traversal.Exceptions
Constructor and Description |
---|
IdentityTraversal() |
Modifier and Type | Method and Description |
---|---|
void |
addStart(Traverser.Admin<S> start)
Add a single
Traverser.Admin object to the head of the traversal. |
S |
next() |
String |
toString() |
addStep, applyStrategies, clone, equals, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, hashCode, hasNext, isLocked, removeStep, reset, setGraph, setParent, setSideEffects, setStrategies
finalize, getClass, notify, notifyAll, wait, wait, wait
addStarts, addStep, equals, getEndStep, getStartStep, removeStep
public S next()
public void addStart(Traverser.Admin<S> start)
Traversal.Admin
Traverser.Admin
object to the head of the traversal.
Users should typically not need to call this method. For dynamic inject of data, they should use InjectStep
.addStart
in interface Traversal.Admin<S,S>
addStart
in class AbstractLambdaTraversal<S,S>
start
- a traverser to add to the traversalCopyright © 2013–2016 Apache Software Foundation. All rights reserved.