Class Limit.Limited

java.lang.Object
org.springframework.data.domain.Limit.Limited
All Implemented Interfaces:
Limit
Enclosing interface:
Limit

public static final class Limit.Limited extends Object implements Limit
  • Method Details

    • max

      public int max()
      Specified by:
      max in interface Limit
      Returns:
      the max number of potential results.
    • isLimited

      public boolean isLimited()
      Specified by:
      isLimited in interface Limit
      Returns:
      true if limiting (maximum value) should be applied.
    • equals

      public boolean equals(@Nullable Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object