public static int hashCode(final Element element) {
        return element.id().hashCode();
    }
If two {@link Element} instances are equal, then they must have the same hash codes. This methods ensures consistent hashCode values.

@param element the element to get the hashCode for
@return the hash code of the element
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/ElementHelper.java