public class Page
extends Object
Constructor and Description |
---|
Page() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getNumber()
Get number
|
Integer |
getSize()
Get size
|
Integer |
getTotalElements()
Get totalElements
|
Integer |
getTotalPages()
Get totalPages
|
int |
hashCode() |
Page |
number(Integer number)
Returns a Page instance initialized with number
|
void |
setNumber(Integer number) |
void |
setSize(Integer size) |
void |
setTotalElements(Integer totalElements) |
void |
setTotalPages(Integer totalPages) |
Page |
size(Integer size)
Returns a Page instance initialized with size
|
String |
toString() |
Page |
totalElements(Integer totalElements)
Returns a Page instance initialized with totalElements
|
Page |
totalPages(Integer totalPages)
Returns a Page instance initialized with totalPages
|
public Page size(Integer size)
size
- size to be associated with Pagepublic Integer getSize()
public void setSize(Integer size)
public Page totalElements(Integer totalElements)
totalElements
- totalElements to be associated with Pagepublic Integer getTotalElements()
public void setTotalElements(Integer totalElements)
public Page totalPages(Integer totalPages)
totalPages
- totalPages to be associated with Pagepublic Integer getTotalPages()
public void setTotalPages(Integer totalPages)
public Page number(Integer number)
number
- number to be associated with Pagepublic Integer getNumber()
public void setNumber(Integer number)
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object