Modifier and Type | Method and Description |
---|---|
static Paging |
create(int pageSize,
int pageIndex,
int totalItems) |
boolean |
hasNextPage() |
int |
offset() |
int |
pageIndex()
Page index, starting with 1.
|
int |
pages()
Number of pages.
|
int |
pageSize()
Maximum number of items per page.
|
int |
total()
Total number of items.
|
public int pageIndex()
public int pageSize()
public int total()
public int offset()
public int pages()
public boolean hasNextPage()
Copyright © 2009–2015 SonarSource. All rights reserved.