Spring Data for VMware GemFire
Class EmptySlice<T>
java.lang.Object
org.springframework.data.gemfire.domain.support.AbstractSliceSupport<T>
org.springframework.data.gemfire.domain.EmptySlice<T>
- Type Parameters:
T-Classtype of the elements in thisSlice.
- All Implemented Interfaces:
Iterable<T>,Supplier<Stream<T>>,org.springframework.data.domain.Slice<T>,org.springframework.data.util.Streamable<T>
- Direct Known Subclasses:
EmptyPage
The
EmptySlice class is an implementation of an empty Spring Data Slice.- Since:
- 1.1.0
- See Also:
-
PageableSliceSortAbstractSliceSupport
-
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, previousOrFirstPageableMethods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
-
Field Details
-
EMPTY_SLICE
-
-
Constructor Details
-
EmptySlice
public EmptySlice()
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceorg.springframework.data.domain.Slice<T>- Overrides:
hasNextin classAbstractSliceSupport<T>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceorg.springframework.data.domain.Slice<T>- Overrides:
hasPreviousin classAbstractSliceSupport<T>
-
getContent
- Specified by:
getContentin interfaceorg.springframework.data.domain.Slice<T>- Overrides:
getContentin classAbstractSliceSupport<T>
-
getNumber
public int getNumber()- Specified by:
getNumberin interfaceorg.springframework.data.domain.Slice<T>- Overrides:
getNumberin classAbstractSliceSupport<T>
-
getSort
public org.springframework.data.domain.Sort getSort()- Specified by:
getSortin interfaceorg.springframework.data.domain.Slice<T>- Overrides:
getSortin classAbstractSliceSupport<T>
-
nextPageable
public org.springframework.data.domain.Pageable nextPageable()- Specified by:
nextPageablein interfaceorg.springframework.data.domain.Slice<T>- Overrides:
nextPageablein classAbstractSliceSupport<T>
-
previousPageable
public org.springframework.data.domain.Pageable previousPageable()- Specified by:
previousPageablein interfaceorg.springframework.data.domain.Slice<T>- Overrides:
previousPageablein classAbstractSliceSupport<T>
-
map
- Specified by:
mapin interfaceorg.springframework.data.domain.Slice<T>- Specified by:
mapin interfaceorg.springframework.data.util.Streamable<T>- Overrides:
mapin classAbstractSliceSupport<T>
-