public class NamingContextEnumeration extends Object implements NamingEnumeration
| Modifier and Type | Field and Description |
|---|---|
protected Iterator |
iterator
Underlying enumeration.
|
| Constructor and Description |
|---|
NamingContextEnumeration(Iterator entries) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes this enumeration.
|
boolean |
hasMore()
Determines whether there are any more elements in the enumeration.
|
boolean |
hasMoreElements() |
Object |
next()
Retrieves the next element in the enumeration.
|
Object |
nextElement() |
protected Iterator iterator
public NamingContextEnumeration(Iterator entries)
public Object next() throws NamingException
next in interface NamingEnumerationNamingExceptionpublic boolean hasMore()
throws NamingException
hasMore in interface NamingEnumerationNamingExceptionpublic void close()
throws NamingException
close in interface NamingEnumerationNamingExceptionpublic boolean hasMoreElements()
hasMoreElements in interface Enumerationpublic Object nextElement()
nextElement in interface EnumerationCopyright © 2016 JBoss by Red Hat. All rights reserved.