public final class EmptyPage<T> extends EmptySlice<T> implements Page<T>
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> 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, nextPageable, previousPageable
empty, filter, flatMap, of, of, of, stream
forEach, iterator, spliterator
public static final EmptyPage<?> EMPTY_PAGE
public int getTotalPages()
getTotalPages
in interface Page<T>
public long getTotalElements()
getTotalElements
in interface Page<T>
Copyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.