Class Limit


  • public final class Limit
    extends Object
    Immutable limit configuration. The limit is used to limit the size of a sub list that can be retrieved.
    Author:
    Stephan fuhrmann
    See Also:
    Paging
    • Method Detail

      • of

        public static Limit of​(int limit)
        Creates a new limit with the given number of entries.
        Parameters:
        limit - the maximum number of entries.
        Returns:
        the limit instance created.