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.ObjectAn identifier (implements hashcode and equals) that represents a unique key for aConnection
-
-
Constructor Summary
Constructors Constructor Description ConnectionId(Vertex.VertexId source, Vertex.VertexId target)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Vertex.VertexIdgetSource()Vertex.VertexIdgetTarget()inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
ConnectionId
public ConnectionId(Vertex.VertexId source, Vertex.VertexId target)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getSource
public Vertex.VertexId getSource()
-
getTarget
public Vertex.VertexId getTarget()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-