Package com.sun.identity.sm.ldap
Class EmbeddedSearchResultIterator
- java.lang.Object
-
- com.sun.identity.sm.ldap.EmbeddedSearchResultIterator
-
- All Implemented Interfaces:
Iterator<SMSDataEntry>
public class EmbeddedSearchResultIterator extends Object implements Iterator<SMSDataEntry>
This class iterates through the list ofSearchResultEntryand converts theSearchResultEntryto aSMSDataEntryobject.
-
-
Constructor Summary
Constructors Constructor Description EmbeddedSearchResultIterator(LinkedList results, Set excludeDNs)Constructs aSearchResultIterator
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()SMSDataEntrynext()voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining
-
-
-
-
Constructor Detail
-
EmbeddedSearchResultIterator
public EmbeddedSearchResultIterator(LinkedList results, Set excludeDNs)
Constructs aSearchResultIterator- Parameters:
results- LDAP Search Results object.excludeDNs- a set of distinguished names to be excluded
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<SMSDataEntry>
-
next
public SMSDataEntry next()
- Specified by:
nextin interfaceIterator<SMSDataEntry>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<SMSDataEntry>
-
-