Interface GraphQLSchemaElement

    • Method Detail

      • equals

        boolean equals​(java.lang.Object obj)
        No GraphQLSchemaElement implements `equals` because we need object identity to treat a GraphQLSchema as an abstract graph.
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj - the reference object with which to compare.
        Returns:
        true if this object is the same as the obj argument; false otherwise.
      • hashCode

        int hashCode()
        No GraphQLSchemaElement implements `equals/hashCode` because we need object identity to treat a GraphQLSchema as an abstract graph.
        Overrides:
        hashCode in class java.lang.Object
        Returns:
        a hash code value for this object.
      • copy

        GraphQLSchemaElement copy()
        Each GraphQLSchemaElement should make a copy of itself when this is called. The copy should be included its current contents as they currently exist into a new object.
        Returns:
        a copy of this element