Interface Page<T>
-
- Type Parameters:
T- The element type
- All Known Subinterfaces:
KeysetAwarePage<T>
public interface Page<T> extends Slice<T>
A sublist of a list of objects, heavily inspired by Spring Data'sPage.- Since:
- 1.2.0
- Author:
- Christian Beikov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetTotalElements()Returns the total amount of elements.intgetTotalPages()Returns the number of total pages.-
Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Methods inherited from interface com.blazebit.persistence.deltaspike.data.Slice
currentPageable, getContent, getNumber, getNumberOfElements, getSize, getSort, hasContent, hasNext, hasPrevious, isFirst, isLast, nextPageable, previousPageable
-
-