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. |
long |
getMaxLoops() |
int |
hashCode() |
boolean |
hasNext() |
String |
toString() |
addStep, addTraverserRequirement, applyStrategies, clone, getEngine, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, isLocked, next, removeStep, reset, setEngine, setGraph, setParent, setSideEffects, setStrategiesequals, finalize, getClass, notify, notifyAll, wait, wait, waitaddStarts, addStep, equals, getEndStep, getStartStep, getTraverserRequirements, removeSteppublic long getMaxLoops()
public boolean hasNext()
public void addStart(Traverser<S> start)
Traversal.AdminTraverser 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.