public abstract class AbstractSliceSupport<T> extends Object implements Slice<T>
AbstractSliceSupport
class is an abstract Spring Data Slice
type
supporting the implementation of application specific Slice
implementations.Constructor and Description |
---|
AbstractSliceSupport() |
Modifier and Type | Method and Description |
---|---|
List<T> |
getContent() |
int |
getNumber() |
int |
getNumberOfElements() |
int |
getSize() |
Sort |
getSort() |
boolean |
hasContent() |
boolean |
hasNext() |
boolean |
hasPrevious() |
boolean |
isFirst() |
boolean |
isLast() |
Iterator<T> |
iterator() |
<S> Slice<S> |
map(Function<? super T,? extends S> converter) |
Pageable |
nextPageable() |
Pageable |
previousPageable() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPageable, nextOrLastPageable, previousOrFirstPageable
and, and, and, and, empty, filter, flatMap, get, isEmpty, of, of, of, stream, toList, toSet, toStreamable, toStreamable
forEach, spliterator
public boolean hasContent()
hasContent
in interface Slice<T>
public boolean hasPrevious()
hasPrevious
in interface Slice<T>
public List<T> getContent()
getContent
in interface Slice<T>
public int getNumberOfElements()
getNumberOfElements
in interface Slice<T>
public Pageable nextPageable()
nextPageable
in interface Slice<T>
public Pageable previousPageable()
previousPageable
in interface Slice<T>
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.