public class ConstantStep<S,E> extends ScalarMapStep<S,E>
id, labels, nextEnd, nextStep, previousStep, starts, traversal, traverserStepIdAndLabelsSetByChild
Constructor and Description |
---|
ConstantStep(Traversal.Admin traversal,
E constant) |
Modifier and Type | Method and Description |
---|---|
E |
getConstant() |
int |
hashCode() |
protected E |
map(Traverser.Admin<S> traverser) |
String |
toString() |
processNextStart
addLabel, addStart, addStarts, clone, equals, getId, getLabels, getNextStep, getPreviousStep, getStarts, getTraversal, hasNext, hasStarts, isTraverserStepIdAndLabelsSetByChild, next, prepareTraversalForNextStep, removeLabel, reset, setId, setNextStep, setPreviousStep, setTraversal
finalize, getClass, notify, notifyAll, wait, wait, wait
equals, getRequirements
forEachRemaining, remove
public ConstantStep(Traversal.Admin traversal, E constant)
public E getConstant()
protected E map(Traverser.Admin<S> traverser)
map
in class ScalarMapStep<S,E>
public String toString()
toString
in class AbstractStep<S,E>
public int hashCode()
hashCode
in class AbstractStep<S,E>
Copyright © 2013–2022 Apache Software Foundation. All rights reserved.