public final class ConstantTraversal<S,E> extends AbstractLambdaTraversal<S,E>
Traversal
that always returns a constant value.Traversal.Admin<S,E>, Traversal.Exceptions, Traversal.Symbols
bypassTraversal
Constructor and Description |
---|
ConstantTraversal(E end) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
int |
hashCode() |
E |
next() |
String |
toString() |
addStart, 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
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.