Class EmptySlice<T>
java.lang.Object
org.springframework.data.gemfire.domain.support.AbstractSliceSupport<T>
org.springframework.data.gemfire.domain.EmptySlice<T>
- All Implemented Interfaces:
Iterable<T>,Supplier<Stream<T>>,Slice<T>,Streamable<T>
- Direct Known Subclasses:
EmptyPage
The
EmptySlice class is an implementation of an empty Spring Data Slice.- Since:
- 1.1.0
- Author:
- John Blum
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.springframework.data.gemfire.domain.support.AbstractSliceSupport
getNumberOfElements, getSize, hasContent, isFirst, isLast, iteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.springframework.data.domain.Slice
getPageable, nextOrLastPageable, previousOrFirstPageable
-
Field Details
-
EMPTY_SLICE
-
-
Constructor Details
-
EmptySlice
public EmptySlice()
-
-
Method Details
-
hasNext
public boolean hasNext() -
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceSlice<T>- Overrides:
hasPreviousin classAbstractSliceSupport<T>
-
getContent
- Specified by:
getContentin interfaceSlice<T>- Overrides:
getContentin classAbstractSliceSupport<T>
-
getNumber
public int getNumber() -
getSort
-
nextPageable
- Specified by:
nextPageablein interfaceSlice<T>- Overrides:
nextPageablein classAbstractSliceSupport<T>
-
previousPageable
- Specified by:
previousPageablein interfaceSlice<T>- Overrides:
previousPageablein classAbstractSliceSupport<T>
-
map
- Specified by:
mapin interfaceSlice<T>- Specified by:
mapin interfaceStreamable<T>- Overrides:
mapin classAbstractSliceSupport<T>
-