Class Pageables
java.lang.Object
io.jenkins.blueocean.rest.pageable.Pageables
- Author:
- Kohsuke Kawaguchi
-
Method Details
-
empty
Returns an emptyPageable
- Type Parameters:
T
- type of Pageable item- Returns:
- empty pageable collection
-
slice
- Type Parameters:
T
- type of Pageable item- Parameters:
base
- base collectionstart
- starting index requested from collectionlimit
- max number of item requested in the page- Returns:
- iterator with starting index==start and size < limit
-
wrap
- Parameters:
base
- collection to be wrapped in to Pageable- Returns:
- Pageable collection
-