@Override
    public void setPreviousStep(final Step<?, S> step) {
        this.previousStep = step;
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/step/util/AbstractStep.java