@Override
    public boolean equals(final Object other) {
        return other instanceof PureTraversal && this.pureTraversal.equals(((PureTraversal) other).pureTraversal);
    }
@author Marko A. Rodriguez (http://markorodriguez.com)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/util/PureTraversal.java