Java Code Examples for org.apache.tinkerpop.gremlin.structure.util.ElementHelper#hashCode()

The following examples show how to use org.apache.tinkerpop.gremlin.structure.util.ElementHelper#hashCode() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TinkerElement.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 2
Source File: StarGraph.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 3
Source File: SimpleTitanProperty.java    From titan1withtp3.1 with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 4
Source File: Neo4JVertex.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    // ElementHelper.hashCode() is implemented on this.id(), handle the case of generated ids
    return id != null ? ElementHelper.hashCode(this) : super.hashCode();
}
 
Example 5
Source File: DetachedElement.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 6
Source File: Neo4JEdge.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    // ElementHelper.hashCode() is implemented on this.id(), handle the case of generated ids
    return id != null ? ElementHelper.hashCode(this) : super.hashCode();
}
 
Example 7
Source File: Neo4JEdge.java    From neo4j-gremlin-bolt with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 8
Source File: StarGraph.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 9
Source File: Neo4jVertexProperty.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode((Element) this);
}
 
Example 10
Source File: ReferenceProperty.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 11
Source File: TinkerProperty.java    From tinkerpop with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 12
Source File: BlazeProperty.java    From tinkerpop3 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Pass through to {@link ElementHelper#hashCode(Property)}
 */
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 13
Source File: AbstractBlazeElement.java    From tinkerpop3 with GNU General Public License v2.0 4 votes vote down vote up
/**
 * Delegates to {@link ElementHelper#hashCode(Element)}
 */
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 14
Source File: ArangoDBElementProperty.java    From arangodb-tinkerpop-provider with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 15
Source File: BitsyProperty.java    From bitsy with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 16
Source File: BitsyElement.java    From bitsy with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 17
Source File: TinkerElement.java    From tinkergraph-gremlin with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 18
Source File: ArangoDBEdge.java    From arangodb-tinkerpop-provider with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}
 
Example 19
Source File: HugeElement.java    From hugegraph with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    E.checkState(this.id() != null, "Element id can't be null");
    return ElementHelper.hashCode(this);
}
 
Example 20
Source File: HugeProperty.java    From hugegraph with Apache License 2.0 4 votes vote down vote up
@Override
public int hashCode() {
    return ElementHelper.hashCode(this);
}