public final class IdentityTraversal<S,E> extends AbstractLambdaTraversal<S,E>
Traversal.Admin<S,E>, Traversal.Exceptions
Constructor and Description |
---|
IdentityTraversal() |
Modifier and Type | Method and Description |
---|---|
void |
addStart(Traverser<S> start)
Add a single
Traverser object to the head of the traversal. |
int |
hashCode() |
E |
next() |
String |
toString() |
addStep, applyStrategies, clone, getEngine, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, hasNext, isLocked, removeStep, reset, setEngine, setGraph, setParent, setSideEffects, setStrategies
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
addStarts, addStep, equals, getEndStep, getStartStep, getTraverserRequirements, removeStep
public E next()
public void addStart(Traverser<S> start)
Traversal.Admin
Traverser
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,E>
addStart
in class AbstractLambdaTraversal<S,E>
start
- a traverser to add to the traversalCopyright © 2013–2015 Apache Software Foundation. All rights reserved.