Package org.elasticsearch.client.graph
Class Connection.ConnectionId
java.lang.Object
org.elasticsearch.client.graph.Connection.ConnectionId
- Enclosing class:
- Connection
public static class Connection.ConnectionId
extends java.lang.Object
An identifier (implements hashcode and equals) that represents a
unique key for a
Connection
-
Constructor Summary
Constructors Constructor Description ConnectionId(Vertex.VertexId source, Vertex.VertexId target)
-
Method Summary
Modifier and Type Method Description boolean
equals(java.lang.Object o)
Vertex.VertexId
getSource()
Vertex.VertexId
getTarget()
int
hashCode()
java.lang.String
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
ConnectionId
-
-
Method Details
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
getSource
-
getTarget
-
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-