@Override
    public int hashCode() {
        return this.getClass().hashCode() ^ this.predicate.hashCode();
    }
@author Daniel Kuppitz (http://gremlin.guru)
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/lambda/PredicateTraversal.java