Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
1.5.4
-
None
-
None
Description
The cursor implementation currently does not have the size() and hasNext() methods. They would be very helpful in ma,ny places.
For instance, the paged search control requires that the response control contains the expected size. The hasNext() method could help to avoid a next() and previous() calls to check if we have one more entry available in the cursor.