public class SearchResultIterator extends Object implements Iterator<SMSDataEntry>
LDAPSearchResults
and converts the
LDAPEntry to a SMSDataEntry
object.Constructor and Description |
---|
SearchResultIterator(org.forgerock.opendj.ldif.ConnectionEntryReader results,
Set<String> excludeDNs,
org.forgerock.opendj.ldap.Connection conn)
Constructs a
SearchResultIterator |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
SMSDataEntry |
next() |
void |
remove() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
public SearchResultIterator(org.forgerock.opendj.ldif.ConnectionEntryReader results, Set<String> excludeDNs, org.forgerock.opendj.ldap.Connection conn)
SearchResultIterator
results
- LDAP Search Results object.excludeDNs
- a set of distinguished names to be excludedconn
- public boolean hasNext()
hasNext
in interface Iterator<SMSDataEntry>
public SMSDataEntry next()
next
in interface Iterator<SMSDataEntry>
public void remove()
remove
in interface Iterator<SMSDataEntry>
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.