|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.util.EmptyEnumeration
public class EmptyEnumeration
An empty NamingEnumeration without any values: meaning hasMore/hasMoreElements() always returns false, and next/nextElement() always throws a NoSuchElementException.
| Constructor Summary | |
|---|---|
EmptyEnumeration()
|
|
| Method Summary | |
|---|---|
void |
close()
|
boolean |
hasMore()
Always returns false. |
boolean |
hasMoreElements()
Always return false. |
java.lang.Object |
next()
Always throws NoSuchElementException. |
java.lang.Object |
nextElement()
Always throws NoSuchElementException. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EmptyEnumeration()
| Method Detail |
|---|
public void close()
close in interface javax.naming.NamingEnumerationNamingEnumeration.close()
public boolean hasMore()
throws javax.naming.NamingException
hasMore in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionNamingEnumeration.hasMore()
public java.lang.Object next()
throws javax.naming.NamingException
next in interface javax.naming.NamingEnumerationjavax.naming.NamingExceptionNamingEnumeration.next()public boolean hasMoreElements()
hasMoreElements in interface java.util.EnumerationEnumeration.hasMoreElements()public java.lang.Object nextElement()
nextElement in interface java.util.EnumerationEnumeration.nextElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||