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