|
|||||||||||
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
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.NamingEnumeration
NamingEnumeration.close()
public boolean hasMore() throws javax.naming.NamingException
hasMore
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
NamingEnumeration.hasMore()
public java.lang.Object next() throws javax.naming.NamingException
next
in interface javax.naming.NamingEnumeration
javax.naming.NamingException
NamingEnumeration.next()
public boolean hasMoreElements()
hasMoreElements
in interface java.util.Enumeration
Enumeration.hasMoreElements()
public java.lang.Object nextElement()
nextElement
in interface java.util.Enumeration
Enumeration.nextElement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |