public interface PageableSet<T>
extends java.lang.Iterable<T>
Set
collection that supports paging.Modifier and Type | Method and Description |
---|---|
boolean |
isEmpty()
Indicates whether the associated collection is empty or not.
|
java.util.Iterator<T> |
iterator()
Provides a parameterized
Iterator instance for the elements in the collection. |
RMPageIterator<T> |
pageIterator()
Provides a
RMPageIterator that you can use to page
through the elements in the collection. |
boolean |
supportsPaging()
Indicates whether this instance supports paging.
|
java.lang.Integer |
totalCount()
Returns the count requested in a search that includes
OPTIONS (COUNT_LIMIT N) . |
boolean isEmpty()
true
if the collection is empty.boolean supportsPaging()
true
, you can use the pageIterator()
method to retrieve
a RMPageIterator
. Otherwise, use the standard Iterator
.true
if this instance supports the use of a page iterator.RMPageIterator<T> pageIterator()
RMPageIterator
that you can use to page
through the elements in the collection.RMPageIterator
of the parameterized type.RAL_PAGING_NOT_SUPPORTED
- if this instance does not support paging.java.util.Iterator<T> iterator()
Iterator
instance for the elements in the collection.iterator
in interface java.lang.Iterable<T>
Iterator
instance.java.lang.Integer totalCount()
OPTIONS (COUNT_LIMIT N)
.
This method is only supported by P8 CE 5.2 or later repository type.COUNT_LIMIT
value to indicate that the minimum count was found,
meaning that the count is at least N. If Top M
is specified on the search,
counting is not done past M, and and exact count is returned if the number of rows
found is less than or equal to M when M <= N.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.