public final class LoopTraversal<S> extends AbstractLambdaTraversal<S,S>
Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.SymbolsbypassTraversal| Constructor and Description |
|---|
LoopTraversal(long maxLoops) |
| 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) |
long |
getMaxLoops() |
int |
hashCode() |
boolean |
hasNext() |
String |
toString() |
addStep, applyStrategies, clone, getBytecode, getGraph, getParent, getSideEffects, getSteps, getStrategies, getTraverserGenerator, getTraverserRequirements, isLocked, next, nextTraverser, removeStep, reset, setBypassTraversal, setGraph, setParent, setSideEffects, setStrategiesfinalize, getClass, notify, notifyAll, wait, wait, waitaddStarts, addStep, equals, getEndStep, getStartStep, removeSteppublic long getMaxLoops()
public boolean hasNext()
public void addStart(Traverser.Admin<S> start)
Traversal.AdminTraverser.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>public boolean equals(Object other)
equals in class AbstractLambdaTraversal<S,S>Copyright © 2013–2019 Apache Software Foundation. All rights reserved.