Class PageOf<T>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqlbase.PageOf<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intFIRST_PAGEstatic intPAGE_NO_PAGINATIONstatic intTOTAL_COUNT_UNKNOWN
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>content()Tget(int index)booleanisEmpty()booleanisKnownTotalCount()booleanisPaginated()@NotNull Iterator<T>iterator()<R> PageOf<R>map(Function<T,R> mappingFunction)intpageNumber()intpageSize()Stream<T>stream()StringtoString()longtotalCount()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Field Detail
-
PAGE_NO_PAGINATION
public static final int PAGE_NO_PAGINATION
- See Also:
- Constant Field Values
-
FIRST_PAGE
public static final int FIRST_PAGE
- See Also:
- Constant Field Values
-
TOTAL_COUNT_UNKNOWN
public static final int TOTAL_COUNT_UNKNOWN
- See Also:
- Constant Field Values
-
-
Method Detail
-
get
public T get(int index)
-
pageNumber
public int pageNumber()
-
pageSize
public int pageSize()
-
totalCount
public long totalCount()
-
isEmpty
public boolean isEmpty()
-
isPaginated
public boolean isPaginated()
-
isKnownTotalCount
public boolean isKnownTotalCount()
-
-