T
- Class
type of the elements in this Page
.public final class EmptyPage<T> extends EmptySlice<T> implements org.springframework.data.domain.Page<T>
EmptyPage
class is an implementation of an empty Spring Data Page
.Converter
,
Page
Modifier and Type | Field and Description |
---|---|
static EmptyPage<?> |
EMPTY_PAGE |
EMPTY_SLICE
Constructor and Description |
---|
EmptyPage() |
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, getSort, hasNext, hasPrevious, nextPageable, previousPageable
getNumberOfElements, getSize, hasContent, isFirst, isLast, iterator
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 static final EmptyPage<?> EMPTY_PAGE
public int getTotalPages()
getTotalPages
in interface org.springframework.data.domain.Page<T>
public long getTotalElements()
getTotalElements
in interface org.springframework.data.domain.Page<T>
Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.