Class DefaultUntotalledPage<T>
java.lang.Object
com.broadleafcommerce.data.tracking.core.filtering.DefaultUntotalledPage<T>
- All Implemented Interfaces:
UntotalledPage<T>
,Serializable
,Iterable<T>
,Supplier<Stream<T>>
,org.springframework.data.domain.Page<T>
,org.springframework.data.domain.Slice<T>
,org.springframework.data.util.Streamable<T>
- Author:
- Jeff Fischer
- See Also:
-
Constructor Summary
ConstructorDescriptionDefaultUntotalledPage
(List<T> content, org.springframework.data.domain.Pageable pageable) -
Method Summary
Modifier and TypeMethodDescriptionint
org.springframework.data.domain.Pageable
int
getSize()
org.springframework.data.domain.Sort
getSort()
boolean
boolean
hasNext()
boolean
boolean
isFirst()
boolean
isLast()
iterator()
<U> org.springframework.data.domain.Page<U>
org.springframework.data.domain.Pageable
org.springframework.data.domain.Pageable
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
nextOrLastPageable, previousOrFirstPageable
Methods inherited from interface org.springframework.data.util.Streamable
and, and, and, and, filter, flatMap, get, isEmpty, stream, toList, toSet
Methods inherited from interface com.broadleafcommerce.data.tracking.core.filtering.UntotalledPage
getNumber, getTotalElements, getTotalPages
-
Constructor Details
-
DefaultUntotalledPage
-
-
Method Details
-
map
-
getSize
public int getSize()- Specified by:
getSize
in interfaceorg.springframework.data.domain.Slice<T>
-
getNumberOfElements
public int getNumberOfElements()- Specified by:
getNumberOfElements
in interfaceorg.springframework.data.domain.Slice<T>
-
getContent
- Specified by:
getContent
in interfaceorg.springframework.data.domain.Slice<T>
-
hasContent
public boolean hasContent()- Specified by:
hasContent
in interfaceorg.springframework.data.domain.Slice<T>
-
getSort
public org.springframework.data.domain.Sort getSort()- Specified by:
getSort
in interfaceorg.springframework.data.domain.Slice<T>
-
isFirst
public boolean isFirst()- Specified by:
isFirst
in interfaceorg.springframework.data.domain.Slice<T>
-
isLast
public boolean isLast()- Specified by:
isLast
in interfaceorg.springframework.data.domain.Slice<T>
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceorg.springframework.data.domain.Slice<T>
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceorg.springframework.data.domain.Slice<T>
-
nextPageable
public org.springframework.data.domain.Pageable nextPageable()- Specified by:
nextPageable
in interfaceorg.springframework.data.domain.Slice<T>
-
previousPageable
public org.springframework.data.domain.Pageable previousPageable()- Specified by:
previousPageable
in interfaceorg.springframework.data.domain.Slice<T>
-
iterator
-
getPageable
public org.springframework.data.domain.Pageable getPageable()- Specified by:
getPageable
in interfaceorg.springframework.data.domain.Slice<T>
-