Class PagedList<T,​P>

  • Type Parameters:
    T - type of elements in the list
    P - type of the paging context passed along

    public abstract class PagedList<T,​P>
    extends java.lang.Object
    Wraps results returned from the offset/limit enabled methods.
    • Constructor Detail

      • PagedList

        public PagedList()
    • Method Detail

      • create

        public static <T,​P> PagedList<T,​P> create​(java.util.List<T> list,
                                                              P offset)
      • getList

        public abstract java.util.List<T> getList()
      • getOffset

        public abstract P getOffset()