Class Limit

java.lang.Object
de.sfuhrm.radiobrowser4j.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:
  • Method Details

    • 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.