|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.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 NamingEnumeration<T>NamingEnumeration.close()
public boolean hasMore()
throws NamingException
hasMore in interface NamingEnumeration<T>NamingExceptionNamingEnumeration.hasMore()
public T next()
throws NamingException
next in interface NamingEnumeration<T>NamingExceptionNamingEnumeration.next()public boolean hasMoreElements()
hasMoreElements in interface Enumeration<T>Enumeration.hasMoreElements()public T nextElement()
nextElement in interface Enumeration<T>Enumeration.nextElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||