public class EmptyEnumeration<T>
extends java.lang.Object
implements javax.naming.NamingEnumeration<T>
| Constructor and Description |
|---|
EmptyEnumeration() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
hasMore()
Always returns false.
|
boolean |
hasMoreElements()
Always return false.
|
T |
next()
Always throws NoSuchElementException.
|
T |
nextElement()
Always throws NoSuchElementException.
|
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()