Package graphql.relay
Class DefaultEdge<T>
- java.lang.Object
-
- graphql.relay.DefaultEdge<T>
-
- All Implemented Interfaces:
Edge<T>
@PublicApi public class DefaultEdge<T> extends java.lang.Object implements Edge<T>
-
-
Constructor Summary
Constructors Constructor Description DefaultEdge(T node, ConnectionCursor cursor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
ConnectionCursor
getCursor()
T
getNode()
int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DefaultEdge
public DefaultEdge(T node, ConnectionCursor cursor)
-
-
Method Detail
-
getNode
public T getNode()
-
getCursor
public ConnectionCursor getCursor()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-