directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-184) Supply one method in SearchCursor to judge it has element or not.
Date Thu, 27 Mar 2014 06:52:14 GMT

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

Emmanuel Lecharny commented on DIRAPI-184:
------------------------------------------

available() will tell you if the get() call will work. That is what you want.

> 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)

Mime
View raw message