public final class DefaultedPageable extends Object
Pageable as well whether it is the default one configured.| Constructor and Description |
|---|
DefaultedPageable(org.springframework.data.domain.Pageable pageable,
boolean isDefault) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
org.springframework.data.domain.Pageable |
getPageable()
Returns the delegate
Pageable. |
int |
hashCode() |
boolean |
isDefault()
Returns whether the contained
Pageable is the default one configured. |
String |
toString() |
org.springframework.data.domain.Pageable |
unpagedIfDefault()
Returns
Pageable.unpaged() if the contained Pageable is the default one. |
public DefaultedPageable(org.springframework.data.domain.Pageable pageable,
boolean isDefault)
public org.springframework.data.domain.Pageable getPageable()
Pageable.public boolean isDefault()
Pageable is the default one configured.public org.springframework.data.domain.Pageable unpagedIfDefault()
Pageable.unpaged() if the contained Pageable is the default one.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.