public class DefaultedPageable extends Object
Pageable
as well it is the default one configured.Constructor and Description |
---|
DefaultedPageable(org.springframework.data.domain.Pageable pageable,
boolean isDefault)
Creates a new
DefaultedPageable with the given Pageable and default flag. |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.domain.Pageable |
getPageable()
Returns the delegate
Pageable . |
boolean |
isDefault()
Returns whether the contained
Pageable is the default one configured. |
public DefaultedPageable(org.springframework.data.domain.Pageable pageable, boolean isDefault)
DefaultedPageable
with the given Pageable
and default flag.pageable
- can be null.isDefault
- Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.