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