Package graphql.relay

Class DefaultPageInfo

    • Constructor Detail

    • Method Detail

      • isHasPreviousPage

        public boolean isHasPreviousPage()
        Specified by:
        isHasPreviousPage in interface PageInfo
        Returns:
        true if and only if this page is not the first page. only meaningful when you gave the last argument.
      • isHasNextPage

        public boolean isHasNextPage()
        Specified by:
        isHasNextPage in interface PageInfo
        Returns:
        true if and only if this page is not the last page. only meaningful when you gave the first argument.
      • 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