public final class TokenTraversal<S extends Element,E> extends AbstractLambdaTraversal<S,E>
Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
bypassTraversal
Constructor and Description |
---|
TokenTraversal(T t) |
Modifier and Type | Method and Description |
---|---|
void |
addStart(Traverser.Admin<S> start)
Add a single
Traverser.Admin object to the head of the traversal. |
boolean |
equals(Object other) |
T |
getToken() |
int |
hashCode() |
E |
next() |
String |
toString() |
addStep, applyStrategies, clone, getBytecode, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, hasNext, isLocked, nextTraverser, removeStep, reset, setBypassTraversal, setGraph, setParent, setSideEffects, setStrategies
finalize, getClass, notify, notifyAll, wait, wait, wait
addStarts, addStep, equals, getEndStep, getStartStep, getTraversalSource, getTraverserSetSupplier, removeStep
public TokenTraversal(T t)
public E 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 extends Element,E>
addStart
in class AbstractLambdaTraversal<S extends Element,E>
start
- a traverser to add to the traversalpublic T getToken()
public int hashCode()
hashCode
in class AbstractLambdaTraversal<S extends Element,E>
Copyright © 2013–2020 Apache Software Foundation. All rights reserved.