Class AbstractSliceSupport<T>
java.lang.Object
org.springframework.data.gemfire.domain.support.AbstractSliceSupport<T>
- All Implemented Interfaces:
Iterable<T>
,Supplier<Stream<T>>
,Slice<T>
,Streamable<T>
- Direct Known Subclasses:
AbstractPageSupport
,EmptySlice
The
AbstractSliceSupport
class is an abstract Spring Data Slice
type
supporting the implementation of application specific Slice
implementations.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.springframework.data.domain.Slice
getPageable, nextOrLastPageable, previousOrFirstPageable
-
Constructor Details
-
AbstractSliceSupport
public AbstractSliceSupport()
-
-
Method Details
-
hasContent
public boolean hasContent()- Specified by:
hasContent
in interfaceSlice<T>
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceSlice<T>
-
isFirst
public boolean isFirst() -
isLast
public boolean isLast() -
getContent
- Specified by:
getContent
in interfaceSlice<T>
-
getNumber
public int getNumber() -
getNumberOfElements
public int getNumberOfElements()- Specified by:
getNumberOfElements
in interfaceSlice<T>
-
getSize
public int getSize() -
getSort
-
iterator
-
map
-
nextPageable
- Specified by:
nextPageable
in interfaceSlice<T>
-
previousPageable
- Specified by:
previousPageable
in interfaceSlice<T>
-