| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this enumeration and releases any resources associated with it.
|
boolean |
hasMore()
Indicates whether this enumeration has more elements that can be traversed.
|
LDAPEntry |
next()
Returns the next LDAP entry in this enumeration if this enumeration object has at least one more element to provide.
|
boolean hasMore()
throws LDAPException
true if this enumeration has more elements, or false otherwise.LDAPException - If an LDAP error occurs while checking for more elements.LDAPEntry next() throws LDAPException
LDAPException - If an LDAP error occurs while fetching the next LDAP entry.void close()
close in interface java.lang.AutoCloseable