@Override
    public boolean equals(final Object other) {
        return other instanceof ConstantTraversal
                && Objects.equals(((ConstantTraversal) other).end, this.end);
    }
A {@link Traversal} that always returns a constant value.

@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/lambda/ConstantTraversal.java