Class PageOf<T>
- java.lang.Object
-
- com.evolveum.midpoint.repo.sqlbase.PageOf<T>
-
-
Field Summary
Fields Modifier and Type Field Description static int
FIRST_PAGE
static int
PAGE_NO_PAGINATION
static int
TOTAL_COUNT_UNKNOWN
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<T>
content()
T
get(int index)
boolean
isEmpty()
boolean
isKnownTotalCount()
boolean
isPaginated()
@NotNull Iterator<T>
iterator()
<R> PageOf<R>
map(Function<T,R> mappingFunction)
int
pageNumber()
int
pageSize()
Stream<T>
stream()
String
toString()
long
totalCount()
-
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()
-
-