| Constructor and Description |
|---|
DefaultedPageable(@NonNull Pageable pageable,
boolean isDefault) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
@NonNull 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(@NonNull
@NonNull 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.@NonNull public @NonNull Pageable getPageable()
Pageable.Copyright © 2011–2020 Pivotal Software, Inc.. All rights reserved.