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