public final class LoopTraversal<S,E> extends AbstractLambdaTraversal<S,E>
Traversal.Admin<S,E>, Traversal.Exceptions
Constructor and Description |
---|
LoopTraversal(long maxLoops) |
Modifier and Type | Method and Description |
---|---|
void |
addStart(Traverser<S> start)
Add a single
Traverser object to the head of the traversal. |
int |
hashCode() |
boolean |
hasNext() |
String |
toString() |
addStep, applyStrategies, clone, getEngine, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, isLocked, next, removeStep, reset, setEngine, setGraph, setParent, setSideEffects, setStrategies
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
addStarts, addStep, equals, getEndStep, getStartStep, getTraverserRequirements, removeStep
public boolean hasNext()
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.