Class Paging


  • public class Paging
    extends Object
    Paging parameters to apply to the collection of items to return.
    Author:
    mmoquillon
    • Field Detail

      • NO_PAGING

        public static final Paging NO_PAGING
        Default value for no paging.
    • Constructor Detail

      • Paging

        public Paging​(BigInteger skipCount,
                      BigInteger maxItems)
        Constructs a new Paging instance with the specified paging parameters.
        Parameters:
        skipCount - the number of items to skip in the collection to return.
        maxItems - the number of items to return in the collection.
    • Method Detail

      • getMaxItems

        public BigInteger getMaxItems()
        Gets the maximum number of items to return.
        Returns:
        the maximum items count in the collection to return.
      • getSkipCount

        public BigInteger getSkipCount()
        Gets the number of items to skip before returning the items.
        Returns:
        the items count to skip in the collection to return.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object