Package graphql.relay

Class DefaultEdge<T>

  • All Implemented Interfaces:
    Edge<T>

    @PublicApi
    public class DefaultEdge<T>
    extends java.lang.Object
    implements Edge<T>
    • Method Detail

      • getNode

        public T getNode()
        Specified by:
        getNode in interface Edge<T>
        Returns:
        the node of data that this edge represents
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object