Package io.token.proto
Class PagedList<T,P>
- java.lang.Object
-
- io.token.proto.PagedList<T,P>
-
- Type Parameters:
T
- type of elements in the listP
- 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 Summary
Constructors Constructor Description PagedList()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static <T,P>
PagedList<T,P>create(java.util.List<T> list, P offset)
abstract java.util.List<T>
getList()
abstract P
getOffset()
-