Interface AbstractPagingValueParamProvider.PagingDataSupplier<C,​S>

  • Type Parameters:
    C - The type of paging data object.
    S - The type of sorting data object.
    Enclosing class:
    AbstractPagingValueParamProvider<C,​S,​P,​D>
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    protected static interface AbstractPagingValueParamProvider.PagingDataSupplier<C,​S>
    Defines behaviour for a function that can create a paging data object from a page number, size and sorting data.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      C provide​(int number, int size, S sortingData)
      Provides an paging object instance according to the given elements.
    • Method Detail

      • provide

        C provide​(int number,
                  int size,
                  S sortingData)
        Provides an paging object instance according to the given elements.
        Parameters:
        number - The page number.
        size - The page size.
        sortingData - The object with sorting information.
        Returns:
        A paging object.