T - the type of which the CosmosPageImpl consists.public class CosmosPageImpl<T>
extends org.springframework.data.domain.PageImpl<T>
CosmosPageImpl implementation.| Constructor and Description |
|---|
CosmosPageImpl(List<T> content,
org.springframework.data.domain.Pageable pageable,
long total)
Constructor of
CosmosPageImpl. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
protected <U> List<U> |
getConvertedContent(Function<? super T,? extends U> arg0) |
long |
getTotalElements() |
int |
getTotalPages() |
int |
hashCode() |
boolean |
hasNext() |
boolean |
isLast() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitnextOrLastPageable, previousOrFirstPageableand, and, and, and, filter, flatMap, get, isEmpty, of, of, of, stream, toList, toSet, toStreamable, toStreamableforEach, spliteratorpublic CosmosPageImpl(List<T> content, org.springframework.data.domain.Pageable pageable, long total)
CosmosPageImpl.content - the content of this page, must not be null.pageable - the paging information, must not be null.total - amount of items available. The total might be adapted considering the length of the content
given, if it is going to be the content of the last page. This is in place to mitigate inconsistencies.public int getTotalPages()
public long getTotalElements()
public boolean hasNext()
public boolean isLast()
public boolean equals(Object o)
equals in class org.springframework.data.domain.PageImpl<T>public int hashCode()
hashCode in class org.springframework.data.domain.PageImpl<T>Copyright © 2021 Microsoft Corporation. All rights reserved.