/** * Returns the {@link Pageable} that's been used to request the current {@link Slice}. * * @return * @since 2.0 */ default Pageable getPageable() { return PageRequest.of(getNumber(), getSize(), getSort()); }
/** * Returns the {@link Pageable} that's been used to request the current {@link Slice}. * * @return * @since 2.0 */ default Pageable getPageable() { return PageRequest.of(getNumber(), getSize(), getSort()); }