T
- Class
type of the individual elements on this Slice
.public abstract class AbstractPageSupport<T> extends AbstractSliceSupport<T> implements org.springframework.data.domain.Page<T>
AbstractPageSupport
class is an abstract Spring Data Page
type supporting the implementation of
application specific Page
implementations.Converter
,
Page
,
Slice
Constructor and Description |
---|
AbstractPageSupport() |
Modifier and Type | Method and Description |
---|---|
long |
getTotalElements() |
int |
getTotalPages() |
<S> org.springframework.data.domain.Page<S> |
map(Function<? super T,? extends S> converter) |
getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, iterator, nextPageable, previousPageable
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContent, getNumber, getNumberOfElements, getPageable, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextOrLastPageable, nextPageable, previousOrFirstPageable, previousPageable
and, and, and, and, filter, flatMap, get, isEmpty, of, of, of, stream, toList, toSet, toStreamable, toStreamable
forEach, iterator, spliterator
public long getTotalElements()
getTotalElements
in interface org.springframework.data.domain.Page<T>
public int getTotalPages()
getTotalPages
in interface org.springframework.data.domain.Page<T>
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.