Class SortingData


  • public class SortingData
    extends java.lang.Object
    Represents an object that encapsulates information about sorting when performing queries to repositories.
    • Method Detail

      • unsorted

        public static SortingData unsorted()
        Returns:
        An unsorted SortingData (i.e no sorting information).
      • isSorted

        public boolean isSorted()
        Indicates whether there is sorting information.
        Returns:
        true if there is sorting information, or false otherwise.
      • isUnsorted

        public boolean isUnsorted()
        Indicates whether there is no sorting information.
        Returns:
        true if there is no sorting information, or false otherwise.
      • equals

        public boolean equals​(java.lang.Object that)
        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