[ 
https://issues.apache.org/jira/browse/DIRAPI-184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949106#comment-13949106
 ] 

Robert Hou commented on DIRAPI-184:
-----------------------------------

Before I thought of the way to backtrack with previous() after calling next(), 
but I found it will casue exception when invoking previous(). So looks like it 
can't be supported in SearchCursor.

> Supply one method in SearchCursor to judge it has element or not.
> -----------------------------------------------------------------
>
>                 Key: DIRAPI-184
>                 URL: https://issues.apache.org/jira/browse/DIRAPI-184
>             Project: Directory Client API
>          Issue Type: Improvement
>    Affects Versions: 1.0.0-M21
>            Reporter: Robert Hou
>
> In some case, I need one method in 
> org.apache.directory.api.ldap.model.cursor.SearchCursor to judge it has 
> element or not. If not, I would not process the later logic.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to