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