public final class TokenTraversal<S,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, getBypassTraversal, getBytecode, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, hasNext, isLocked, isRoot, 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,E>
addStart
in class AbstractLambdaTraversal<S,E>
start
- a traverser to add to the traversalpublic T getToken()
public int hashCode()
hashCode
in class AbstractLambdaTraversal<S,E>
public boolean equals(Object other)
equals
in class AbstractLambdaTraversal<S,E>
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.